Learn R Programming

RSiena (version 1.1-212)

sienaNodeSet: Function to create a node set

Description

Creates a Siena node set which can be used as the nodes in a siena network.

Usage

sienaNodeSet(n, nodeSetName="Actors", names=NULL)

Arguments

Value

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.

References

See http://www.stats.ox.ac.uk/~snijders/siena/

Examples

Run this code
students <- sienaNodeSet(50, "student")

Run the code above in your browser using DataLab