Get Mean Parameters per Group
For hierarchical latent-trait MPT models with discrete predictor variables
as fitted with traitMPT(..., predStructure = list("f"))
.
getGroupMeans( traitMPT, factor = "all", probit = FALSE, file = NULL, mcmc = FALSE )
traitMPT |
a fitted |
factor |
whether to get group estimates for all combinations of factor levels (default) or only for specific factors (requires the names of the covariates in covData) |
probit |
whether to use probit scale or probability scale |
file |
filename to export results in .csv format (e.g., |
mcmc |
if |
Daniel Heck
getParam
for parameter estimates
## Not run: # save group means (probability scale): getGroupMeans(traitMPT, file = "groups.csv") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.