Checks whether object is a Particle Metropolis with Gibbs sampler

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")
}
#> [1] "sampled_forstmann object is a pmwgs"