Learn R Programming

networkDynamic (version 0.4.1)

read.son: Read .son (SoNIA) dynamic network input files to create a dynamic network object

Description

A .son file is a tab seperated text file with two sections, the first describing node attribute events and the second arc attribute event. Each section has a set of defined column names.

Usage

read.son(file)

Arguments

file
path to the file to be read

Value

  • A network dynamic object with vertex and edge durations corresponding the the spells defined in the input file.

Details

For more details about the format, see the SoNIA file specification for more information: http://sourceforge.net/apps/mediawiki/sonia/index.php?title=Son_format. Uses as.networkDynamic internally to build a dynamic network out of an array of vertex spells and an array of edge spells. Does not currenctly support the AlphaId node index for permitting arbitrary node ids.

References

http://sourceforge.net/apps/mediawiki/sonia/index.php?title=Son_format.

See Also

See Also as.networkDynamic

Examples

Run this code
# classroom<-read.son(system.file('extdata/cls33_10_16_96.son',package='networkDynamic'))

Run the code above in your browser using DataLab