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 draws).
Details
See methods(class = "mcpfit") for an overview of available methods.
Components:
call: The matched call tomcp().model: A list of user-provided formulas.data: The user-provided data frame reduced to model-used columns.family: Anmcpfamilyobject.prior: A named list of priors.mcmc_postandmcmc_prior:mcmc.listobjects with posterior and prior draws, respectively. Do not access these directly; use as_draws(fit) or similar.jags_code: A string with JAGS code; usecat(fit$jags_code)to show it. Read more.simulate: A function to simulate data from supplied parameter values.version: A named list of package_versions formcp,R,rjags, andjags, e.g.,fit$version$mcp >= "0.4.0".rjagsandjagsareNULLfor fits withsample = "none".NULLfor fits made with mcp < 0.4.0..internal: Information used internally by mcp.
