MCMCtrace: Get MCMC traces for LCMCR

View source: R/lcmcr.R View source: R/diagnostics.R

MCMCtraceR Documentation

Get MCMC traces for LCMCR

Description

Return MCMC traces for the "n0", "prob_zero" and "k_star" parameters of LCMCR objects. For each of these parameters, a matrix is returned where each row represents an iteration and each column a chain.

Run MCMC and return traces for the "n0", "prob_zero" and "k_star" parameters of LCMCR objects. For each of these parameters, a matrix is returned where each row represents an iteration and each column a chain.

Usage

MCMCtraces(fit, burnin = 0, nSamples = 100, thinning = 1000, mc.cores=detectCores())

MCMCtraces(fit, burnin = 0, nSamples = 100, thinning = 1000, mc.cores=detectCores())

Arguments

fit

object of class "lcmcr".

burnin

number of burn-in iterations.

nSamples

number of samples to be returned.

thinning

number of iterations between each sample.

mc.cores

number of cores to use for computation.


OlivierBinette/MSETools documentation built on Aug. 7, 2022, 8:42 p.m.