ssGAM2Bugs: Convert samples from a model fitted with 'spikeSlabGAM' into...

View source: R/bugs.R

ssGAM2BugsR Documentation

Convert samples from a model fitted with spikeSlabGAM into a bugs-object

Description

Use plot and print on the returned bugs object for convergence diagnostics. Lack of convergence for α or ξ does not necessarily mean that the sampler has not converged for β.

Usage

ssGAM2Bugs(m, rm = c("alpha", "ksi", "gamma"))

Arguments

m

a model fitted with spikeSlabGAM

rm

which parameter blocks to omit from the conversion. Defaults to omission of α, ξ, and γ. Set to NULL to keep all MCMC samples.

Value

a bugs object which has convenience functions for assessing convergence based on parallel MCMC runs

Author(s)

Fabian Scheipl

Examples

#see help for spikeSlabGAM

spikeSlabGAM documentation built on June 10, 2022, 5:10 p.m.