sienaNodeSet {RSiena} | R Documentation |
Creates a Siena node set which can be used as the nodes in a siena network.
sienaNodeSet(n, nodeSetName="Actors", names=NULL)
n |
integer, size of set. |
nodeSetName |
character string naming the node set. |
names |
optional character string vector of length n of the names of the nodes. |
This function is important for data sets having more than one node set, but not otherwise.
Returns a Siena node set, an integer vector, possibly with names, plus the attributes, class equal to "sienaNodeSet", and nodeSetName equal to the argument nodeSetName.
Ruth Ripley
See http://www.stats.ox.ac.uk/~snijders/siena/
sienaDependent
, sienaDataCreate
students <- sienaNodeSet(50, "student")