| mcpfit-class {mcp} | R Documentation |
Class mcpfit of models fitted with the mcp package
Description
Models fitted with the mcp function are represented as
an mcpfit object which contains the user input (model, data, family),
derived model characteristics (prior, parameter names, and jags code), and
the fit (prior and/or posterior mcmc samples).
Details
See methods(class = "mcpfit") for an overview of available methods.
User-provided information (see mcp for more details):
Slots
modelA list of formulas, making up the model. Provided by user. See
mcpfor more details.dataA data frame. Provided by user. See
mcpfor more details.familyAn
mcpfamilyobject. Provided by user. Seemcpfor more details.priorA named list. Provided by user. See
mcpfor more details.mcmc_postAn
mcmc.listobject with posterior samples.mcmc_priorAn
mcmc.listobject with prior samples.mcmc_loglikAn
mcmc.listobject with samples of log-likelihood.parsA list of character vectors of model parameter names.
jags_codeA string with jags code. Use
cat(fit$jags_code)to show it.simulateA method to simulate and predict data.
.otherInformation that is used internally by mcp.