conv.mcmc: Convert MCMC chain between parameterisations

Description Usage Arguments Details Value Author(s) See Also

View source: R/conv.mcmc.R

Description

Applies conv to each row of a MCMC chain.

Usage

1
conv.mcmc(chain, from = "m", to = "p")

Arguments

chain

mcmc object with each line parameterisation as given by from.

from

"m", "p" or "c" represents initial parameterisation.

to

"m", "p" or "c" represents final parameterisation.

Details

"c" and cpars represent calculation pars (includes λ used in CMP distribution).
"p" and pars represent original pars (includes μ, parameter of interest).
"m" and mpars represent pars transformed to find mode using optim and to run MCMC.

Value

mcmc object.

Author(s)

Philip Wilson

See Also

conv


edpcr documentation built on May 2, 2019, 5:22 p.m.

Related to conv.mcmc in edpcr...