Reads UCINET files

Read UCINET files (binary)

read_ucinet_head(f)

read_ucinet(f, echo = FALSE)

Arguments

f

Character scalar. Name of the header file. e.g. mydata.##h.

echo

Logical scalar. When TRUE shows a message.

Value

An array including dimnames (if there are) and the following attributes:

headerversion

Character scalar

year

Integer. Year the file was created

month

Integer. Month of the year the file was created.

day

Integer. Day of the month the file was created.

dow

Integer. Day of the week the file was created.

labtype

infile.dt

Character scalar. Type of data of the array.

dim

Integer vector. Dimensions of the array.

tit

Character scalar. Title of the file.

haslab

Logical vector. Whether each dim has a label.

See also

Other Foreign: igraph, network, read_pajek()