plot.logit.spike | R Documentation |
logit.spike
object
Plot a logit.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.
## S3 method for class 'logit.spike'
plot(x,
y = c("inclusion", "coefficients", "scaled.coefficients", "fit",
"residuals", "size", "help"),
burn = SuggestBurnLogLikelihood(x$log.likelihood),
...)
## S3 method for class 'probit.spike'
plot(x,
y = c("inclusion", "coefficients", "scaled.coefficients", "fit",
"residuals", "size", "help"),
burn = SuggestBurnLogLikelihood(x$log.likelihood),
...)
x |
An object of class |
y |
The type of plot desired. |
burn |
The number of MCMC iterations to discard as burn-in. |
... |
Additional arguments passed to the specific functions that do the plotting. |
The default plot is a barplot showing the marginal inclusion
probabilities of the coefficients, constructed using
PlotMarginalInclusionProbabilities
.
The plot of the fit summary is handled by
PlotLogitSpikeFitSummary
.
The plot of the residuals is handled by
PlotLogitSpikeResiduals
.
The plot of model size is handled by PlotModelSize
.
Steven L. Scott
PlotMarginalInclusionProbabilities
PlotModelSize
PlotLogitSpikeFitSummary
PlotLogitSpikeResiduals
## See the examples in ?logit.spike
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.