ecov.lmh | R Documentation |
Estimate how expected outcomes covary for 'low', 'medium' and 'high'
levels of a 'person variable of interest' (pvoi
).
Note that this creates 'low' 'medium' and 'high' subgroups through
the strategy employed by the zgroups
function, which attempts
to approximate how observations are weighted when calculating a
correlation coefficient.
ecov.lmh(PSI, pVars, voi, p = "p", cuts = "z", per = F)
PSI |
the Person-Situation-Action expected effects relevant to the analysis |
pVars |
file containing person variables |
voi |
(person-)variable of interest (must provide in quotations) |
p |
the variable containing the 'person' identifier (defaults to |
cuts |
detail how groups will be created; default to |
Effect covariance matrices (and sample sizes) for zL, zM, zH
(low, medium, and high z-scores on the person variable of interest)
subgroups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.