CleanChlist: If the job of Gibbs sampling from 'ParallelGibbsSamble' has...

View source: R/CleanChlist.R

CleanChlistR Documentation

If the job of Gibbs sampling from ParallelGibbsSamble has an error caught by R, the corresponding element of chlist has class try-error. If the job is stopped with, e.g. a segfault, the chlist element is NULL.

Description

If the job of Gibbs sampling from ParallelGibbsSamble has an error caught by R, the corresponding element of chlist has class try-error. If the job is stopped with, e.g. a segfault, the chlist element is NULL.

Usage

CleanChlist(chlist, verbose = FALSE)

Arguments

chlist

A list of hdpSampleChain-class objects.

verbose

If TRUE then message progress information.

Value

Invisibly, the clean, non-error chlist This is a list of hdpSampleChain-class objects.


steverozen/mSigHdp documentation built on Feb. 6, 2023, 1:36 a.m.