tnet_ucinet {tnet} | R Documentation |
Exports a tnet network to a DL file for UCINET
Description
The tnet_sna function creates a DL file which can easily be imported into UCINET.
Usage
tnet_ucinet(net, type=NULL, file=NULL)
Arguments
net |
A tnet network |
type |
type of tnet network, see as.tnet. |
file |
filename of output file. If this is set to NULL, a file is created in the working directory with the current time (e.g., tnet_ucinet_network-2011-04-10_150817.dl). |
Value
Writes a UCINET dl file.
Note
version 1.0.0
Author(s)
Tore Opsahl; http://toreopsahl.com
References
http://toreopsahl.com/
Examples
## Load sample data
sample <- rbind(
c(1,2,4),
c(1,3,2),
c(2,1,4),
c(2,3,4),
c(2,4,1),
c(2,5,2),
c(3,1,2),
c(3,2,4),
c(4,2,1),
c(5,2,2),
c(5,6,1),
c(6,5,1))
## Run the programme
tnet_ucinet(sample, type="weighted one-mode tnet")
[Package tnet version 3.0.16 Index]