Learn R Programming

RSiena (version 1.0.9)

varCovar: Function to create a changing covariate object.

Description

This function creates a changing covariate object from a matrix.

Usage

varCovar(val, nodeSet='Actors')

Arguments

Value

Returns the covariate as an object of class 'varCovar', in which form it can be used as an argument to SienaData.create.

Details

When part of a Siena data object, the covariate is assumed to be associated with node set nodeSet of the Siena data object.

References

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

See Also

sienaDataCreate

Examples

Run this code
myvarCovar <- varCovar(s50a)

Run the code above in your browser using DataLab