is.pmwgs {pmwg}R Documentation

Test whether object is a pmwgs

Description

Checks whether object is a Particle Metropolis with Gibbs sampler

Usage

is.pmwgs(x)

Arguments

x

An object to test

Value

logical, whether object inherits from pmwgs

Examples

if (is.pmwgs(sampled_forstmann)) {
  print("sampled_forstmann object is a pmwgs")
}

[Package pmwg version 0.2.7 Index]