Learn R Programming

lgcp (version 1.0)

mcmcLoop: iterator for MCMC loops...

Description

iterator for MCMC loops

Usage

mcmcLoop(N, burnin, thin, trim=TRUE, progressor=mcmcProgressPrint)

Arguments

N
number of iterations
burnin
length of burn-in
thin
frequency of thinning
trim
whether to cut off iterations after the last retained iteration
progressor
a function that returns a progress object

Details

control an MCMC loop with this iterator