read_ucinet_head: Reads UCINET files

View source: R/read_write_foreign.r

read_ucinet_headR Documentation

Reads UCINET files

Description

Reads UCINET files

Read UCINET files (binary)

Usage

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()


netdiffuseR documentation built on Aug. 30, 2023, 5:07 p.m.