ssGAM2Bugs {spikeSlabGAM}R 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 \alpha or \xi does not necessarily mean that the sampler has not converged for \beta.

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 \alpha, \xi, and \gamma. 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

[Package spikeSlabGAM version 1.1-19 Index]