Description Usage Arguments Value Examples
Returns the breakdown of variance components and reciprocity correlations from the output of a multilevel model fitting the SRM according to the dummy variable specification.
1 | srmVarPct(object)
|
object |
an lme output object with the SRM structure |
data.frame with the variance-covariance parameters, percentages, and the reciprocity correlations
1 2 3 4 5 6 7 | o = srmVarPct(nlme::lme(liking ~ 1, random=list(groupId=nlme::pdBlocked(list(nlme::pdIdent(~1),
pdSRM(~-1 + a1 + a2 + a3 + a4 + p1 + p2 + p3 + p4)))),
correlation=nlme::corCompSymm(form=~1 | groupId/pdSRM_dyad_id),
data=
createDummies(group.id="groupId", act.id="actId", part.id="partId",
d=sampleDyadData[sampleDyadData$timeId==1, ],
merge.original=TRUE), na.action=na.omit))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.