Learn R Programming

remiod (version 1.0.2)

prep_MCMC: Extract MCMC samples of monitored parameters from JointAI object. Code from JointAI.

Description

Extract MCMC samples of monitored parameters from JointAI object. Code from JointAI.

Usage

prep_MCMC(object, treatment = NULL, delta = 0, start = NULL,
  end = NULL, thin = NULL, subset = FALSE, exclude_chains = NULL,
  warn = TRUE, mess = TRUE, ...)

Arguments

object

an object of class JointAI

treatment

the variable name of treatment. Reference level of treatment should be coded as 0.

delta

specific value used for Delta adjustment, applicable only for method="delta".

start

first iteration to be used

end

last iteration to be used

thin

thinning to be applied

subset

subset of parameters (columns of the mcmc object) to be used

exclude_chains

optional vector of numbers, indexing MCMC chains to be

warn

logical, should warning messages be displayed?

mess

logical, should messages be displayed?

...

optional arguments passed from remiod.