Learn R Programming

netdiffuseR (version 1.22.6)

read_ucinet_head: Reads UCINET files

Description

Reads UCINET files

Read UCINET files (binary)

Usage

read_ucinet_head(f)

read_ucinet(f, echo = FALSE)

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.

Arguments

f

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

echo

Logical scalar. When TRUE shows a message.

See Also

Other Foreign: igraph, network, read_pajek()