Learn R Programming

lgcp (version 1.8)

mcmcpars: mcmcpars function

Description

A function for setting MCMC options in a run of lgcpPredict for example.

Usage

mcmcpars(mala.length, burnin, retain, inits = NULL, adaptivescheme)

Arguments

mala.length

default = 100,

burnin

default = floor(mala.length/2),

retain

thinning parameter eg operated on chain every 'retain' iteration (eg store output or compute some posterior functional)

inits

optional initial values for MCMC

adaptivescheme

the type of adaptive mcmc to use, see ?constanth (constant h) or ?andrieuthomsh (adaptive MCMC of Andrieu and Thoms (2008))

Value

mcmc parameters

See Also

lgcpPredict