Learn R Programming

RSiena (version 1.0.9)

sienaGroupCreate: Function to group together several Siena data objects

Description

Creates an object of class "sienaGroup" from a list of Siena data objects.

Usage

sienaGroupCreate(objlist, singleOK = FALSE, getDocumentation=FALSE)

Arguments

Value

...List containing the input objects, with attributes:netnamesnames of the dependent variables in each setsymmetricvector of booleans, one for each dependent variable. TRUE if all occurrences of the network are symmetric.structuralvector of booleans, indicating whether structurally fixed values occur in this networkallUpOnlyvector of booleans, indicating whether changes are all upwards in all the occurrences of this networkallDownOnlysimilar to previous, but for downward changesanyUpOnlyvector of booleans, indicating whether changes are all upwards in any of the occurrences of this networkanyDownOnlysimilar to previous, but for downward changestypesvector of network types of the dependent variablesobservationsTotal number of periods to processperiodNosSequence of numbers of periods which are not skipped in multigroup processingnetnodeSetslist of names of the node sets corresponding to the dependent variablescCovarsnames of the constant covariates, if anyvCovarsnames of the changing covariates, if anydycCovarsnames of the constant dyadic covariates, if anydyvCovarsnames of the changing dyadic covariates, if anyccnodeSetslist of the names of the node sets corresponding to the constant covariatescvnodeSetslist of the names of the node sets corresponding to the changing covariatesdycnodeSetslist of the names of the node sets corresponding to the constant dyadic covariatesdyvcnodeSetslist of the names of the node sets corresponding to the changing dyadic covariatescompositionChangeboolean: any composition change at all?exooptionsnamed vector of composition change options for the node setsnamesEither from the input objects or "Data1", "Data2" etcclass"sienaGroup" inheriting from "siena"balmeanvector of means for balance calculationsbRangevector of difference between maximum and minimum values for behavior variables, NA for other dependent variablesbehRangematrix of maximum and minimum values for behavior variables, NA for other dependent variablesbSimvector of similarity means for behavior variables, NA for other dependent variablesbPoszvarvector of booleans indicating positive variance for behavior variables. NA for other dependent variablesbMoreThan2vector of booleans indicating whether the behavior variables take more than 2 distinct valuescCovarPoszvarvector of booleans indicating positive variance for constant covariatescCovarMoreThan2vector of booleans indicating whether the constant covariates take more than 2 distinct valuescCovarRangevector of difference between maximum and minimum values for constant covariatescCovarRange2matrix of maximum and minimum values for constant covariatescCovarSimvector of similarity means for constant covariatescCovarMeanvector of means for constant covariatesvCovarRangevector of difference between maximum and minimum values for changing covariatesvCovarSimvector of similarity means for changing covariatesvCovarMoreThan2vector of booleans indicating whether the changing covariates take more than 2 distinct valuesvCovarPoszvarvector of booleans indicating positive variance for changing covariatesvCovarMeanvector of means for changing covariatesdycCovarMeanvector of means for constant dyadic covariatesdycCovarRangevector of ranges for constant dyadic covariatesdycCovarRange2matrix of maximum and minimum values for constant dyadic covariatesdyvCovarRangevector of ranges for changing dyadic covariatesdyvCovarMeanvector of means for changing dyadic covariatesanyMissingvector of booleans, one for each dependent variable, indicating the presence of any missing valuesnetRangesmatrix of maximum and minimum values for dependent networks, NA for behavior variables

Details

This function creates a Siena group object from several Siena data objects, all of which use the same networks, covariates and actor sets (although possibly different subsets of the actor set in each object). It can be used as data input to siena07 for the multigroup option. Also used internally for convenience with a single Siena data object.

References

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

See Also

sienaDataCreate

Examples

Run this code
## not very useful, but will work
mynet1 <- sienaNet(array(c(s501,s502),dim=c(50,50,2)))
mydata <- sienaDataCreate(mynet1)
mygroup <- sienaGroupCreate(list(mydata, mydata))

Run the code above in your browser using DataLab