opm_MI_delta {remiod}R Documentation

Apply Delta adjustment to Update JAGS MCMC outputs under MAR for Cumulative Logistic Model

Description

Internal function to obtain delta-adjusted MCMC from an MAR object.

Usage

opm_MI_delta(object, treatment, delta = 0, start = NULL, end = NULL,
  thin = NULL, exclude_chains = NULL, subset = FALSE, seed = NULL,
  mess = FALSE, ...)

Arguments

object

an object of class remiod

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.

exclude_chains

optional vector of numbers, indexing MCMC chains to be excluded from the output.

subset

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

seed

optional seed value.

mess

logical, should messages be displayed?

...

optional arguments pass from main function.

Value

A matrix of MCMC samples with all monitored parameters.A subset of the MCMC sample can be selected using start, end and thin.


[Package remiod version 1.0.2 Index]