lcmcrSample: Perform LCMCR sampling with a monitor function

View source: R/utils.R

lcmcrSampleR Documentation

Perform LCMCR sampling with a monitor function

Description

Perform LCMCR sampling with a monitor function

Usage

lcmcrSample(
  object,
  burnin = 10000,
  samples = 1000,
  thinning = 10,
  clear_buffer = FALSE,
  output = TRUE,
  nMonitorBreaks = 100,
  monitorFunc = function(subs, tot) {
 }
)

Arguments

object

the samples

burnin

MCMC burn in

samples

number of samples

thinning

MCMC thinning

clear_buffer

buffer clear buffer of object

output

output progress

nMonitorBreaks

number of times to call the monitor function

monitorFunc

A function called nMonitorBreaks times taking the number of samples to be taken, and the total samples

Details

An edited version of lcmCR_PostSampl

Value

The posterior sample of N estimates


shinyrecap documentation built on July 30, 2026, 1:07 a.m.