Learn R Programming

BoomSpikeSlab (version 0.5.3)

plot.poisson.spike: Plot a poisson.spike object

Description

Plot a poisson.spike object. The default plot is a barplot of the marginal inclusion probabilities for each variable, as obtained by PlotMarginalInclusionProbabilities. See below for other types of plots.

Usage

## S3 method for class 'poisson.spike':
plot(x,
     y = c("coefficients", "size", "help"),
     ...)

Arguments

x
An object of class poisson.spike.
y
The type of plot desired.
...
Additional arguments passed to the specific functions that do the plotting.

Details

The default plot is a barplot showing the marginal inclusion probabilities of the coefficients, constructed using PlotMarginalInclusionProbabilities.

The plot of model size is handled by PlotModelSize.

See Also

PlotMarginalInclusionProbabilities PlotModelSize

Examples

Run this code
## See the examples in ?poisson.spike

Run the code above in your browser using DataLab