View source: R/getGroupMeans.R
getGroupMeans | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.