View source: R/transformedParPosthoc.R
transformedParameters | R Documentation |
Computes transformations of MPT parameters based on the MCMC posterior samples (e.g., differences of parameters).
transformedParameters(
fittedModel,
transformedParameters,
level = "group",
nCPU = 4
)
fittedModel |
either a fitted latent-trait or beta MPT model
( |
transformedParameters |
list with parameter transformations that should
be computed based on the posterior samples (e.g., for testing parameter
differences: |
level |
whether to compute transformations of |
nCPU |
number of CPU cores across which the MCMC chains are distributed |
an mcmc.list of posterior samples for the transformed parameters
## Not run:
tt <- transformedParameters(fittedModel,
list("diff = a-b", "p = a>b"),
level = "individual"
)
summary(tt)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.