Learn R Programming

ramps (version 0.6.18)

expand.chain: Expand MCMC Samples for georamps Model Fits

Description

Generates additional posterior samples for georamps model fits by restarting the MCMC sampler at the last set of sampled parameter values.

Usage

expand.chain(object, n)

Value

'ramps' object containing the previously and newly sampled parameter values.

Arguments

object

object returned by georamps.

n

additional number of times to iterate the MCMC sampler.

Author

Brian Smith brian-j-smith@uiowa.edu

See Also

georamps

Examples

Run this code
## Generate 25 additional samples for the georamps example

if (FALSE) {
fit <- expand.chain(NURE.fit, 25)
}

Run the code above in your browser using DataLab