Learn R Programming

effectFusion (version 1.1.3)

plot.fusion: Plot an object of class fusion

Description

This function provides plots of posterior means and 95%-HPD intervals for the regression effects. Plots are based on the refitted MCMC samples of the selected model in an object of class fusion or on model averaged results if no final model selection was performed.

Usage

# S3 method for fusion
plot(x, maxPlots = 4, ...)

Arguments

x

an object of class fusion

maxPlots

maximum number of plots on a single page, default argument to 4

...

further arguments passed to or from other methods (not used)

Details

If no effect fusion or no final model selection is performed, posterior means and HPD intervals are model averaged results. Otherwise, the parameters of the selected model are reestimated with a flat uninformative prior. Thus, fused categories have the same posterior mean and HPD interval. Single categories that are excluded from the model are fused to the reference category and therefore only a posterior mean at zero and no interval is plotted.

See Also

effectFusion

Examples

Run this code
# NOT RUN {
## see example for effectFusion
# }

Run the code above in your browser using DataLab