Contents
- Index
DATA > EXPORT>RAW
PURPOSE Convert UCINET data files into raw format.
DESCRIPTION Converts UCINET data files into raw format, these are the same as the DL format but without the headers, for full information of the DL formats go to help dl .
PARAMETERS
Input dataset:
Name of file containing data to be exported. Data type: Matrix.
Output format : (Default = "Full matrix")
Choices are:
Full matrix
A complete N´N matrix;
Lowerhalf
Gives the lower-triangle and should only be used for symmetric matrices.
Upper half
Gives the upper-triangle and should only be used for symmetric matrices.
Nodelist1
This is used on binary matrices only. Each line of data consists of a row number (call it i) followed by a list of column numbers (call each one j) such that x(i,j) = 1.
Nodelist1B
This is used on binary matrices only. Each line of data corresponds to a matrix row (call it i). The first number on the line is the number of non-zero cells in that row. This is followed by a list of column numbers (call each one j) such that x(i,j) = 1. Note that rows must appear in numerical order, and none may be skipped (unlike the Nodelist1 format).
Nodelist2
Each line begins with a row id number followed by a list of column id numbers that are connected to that row number. For use in 2-mode matrices
Edgelist1
This format is used on data forming a matrix in which the rows and columns refer to the same kinds of objects (e.g., an illness-by-illness proximity matrix, or a person-by-person network). The 1-mode matrix X is built from pairs of indices (a row and a column indicator). Pairs are typed one to a line, with indices separated by spaces or commas. The presence of a pair i,j indicates that there is a link from i to j, which is to say a non-zero value in x(i,j). Optionally, the pair may be followed by a value representing an attribute of the link, such as its strength or quality. If no value is present, it is assumed to be 1.0. If a pair is omitted altogether, it is assigned a value of 0.0.
Edgelist2
This is used on data forming a matrix in which the rows and columns refer to different kinds of objects (e.g., illnesses and treatments). The 2-mode matrix X is built from pairs of indices (a row and a column indicator). Pairs are one to a line, with indices separated by spaces. The presence of a pair i,j indicates that there is a link from row i to column j, which is to say a non-zero value in x(i,j). If the pair is followed by a value then this is the strength of the tie. If no value is present, it is assumed to be 1.0. If a pair is omitted altogether, it is assigned a value of 0.0.
Diagonals present (Default = Present)
If Absent diagonal values will not be written to file.
(edgelist only) Type
Specify whether the data is directed or undirected
Decimal places: (Default = 0)
The number of places of decimals required. The default will correspond to the number of places of decimals in the original UCINET data file. A smaller value will result in rounding to the nearest value. A value of 0 will indicate Integer values only.
Field width (Default = Freefield)
Freefield will simply place each row of a matrix on a new line with no attempt to align the columns.
Automatic will align the rows and columns into a matrix format. The user can also specify the number of spaces for each field - this number should be greater than the number of decimal places in the field.
Guaranteed space (Default = Yes)
Yes separates each number in every row by a space. No prints each number in a continuous list.
Page width (Default=10000):
The maximum width of the output page.
Embed row labels(Default=No):
Should these labels be embedded.
Embed column labels(Default=No):
Should these labels be embedded.
Embed matrix labels(Default=No):
Should these labels be embedded.
Output dataset:
Name of file to be created with txt file extension.
LOG FILE A text data file of type specified.
TIMING O(N^2)
COMMENTS None.
REFERENCES None.