Extract MCMC samples of monitored parameters from JointAI object. Code from JointAI.
prep_MCMC(object, treatment = NULL, delta = 0, start = NULL,
end = NULL, thin = NULL, subset = FALSE, exclude_chains = NULL,
warn = TRUE, mess = TRUE, ...)
an object of class JointAI
the variable name of treatment. Reference level of treatment should be coded as 0.
specific value used for Delta adjustment, applicable only for method="delta".
first iteration to be used
last iteration to be used
thinning to be applied
subset of parameters (columns of the mcmc object) to be used
optional vector of numbers, indexing MCMC chains to be
logical, should warning messages be displayed?
logical, should messages be displayed?
optional arguments passed from remiod
.