read.son | R Documentation |
A .son file is a tab-separated text file with two sections, the first describing node attribute events and the second arc attribute events. Each section has a set of defined column names as a header. See the SoNIA file specification for more information: https://sourceforge.net/p/sonia/wiki/Son_format/.
read.son(file, guess.TEA=TRUE)
file |
path to the file to be read |
guess.TEA |
logical: should the parser guess that non-changing attribute values are intended to be static instead of TEAs? |
Uses networkDynamic
internally to build a dynamic network out of an array of vertex spells and an array of edge spells. Vertex and edge attributes will be attached, usually as TEA. However, If the values of an attribute never change, they will be attached as a static attribute. This is convenient but will be incorrect if a value was intended to be defined for only a single spell matching with the vertex activation. Setting guess.TEA=FALSE
will force all attributes to be loaded as TEAs (slower).
A network dynamic object with vertex and edge durations and attributes corresponding the the spells defined in the input file.
The current version of this function does not support reading clusters.
Skye Bender-deMoll
https://sourceforge.net/p/sonia/wiki/Son_format/.
See Also networkDynamic
classroom<-read.son(system.file('extdata/cls33_10_16_96.son',package='networkDynamic'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.