plot.fusion: Plot an object of class 'fusion'

Description Usage Arguments Details Author(s) See Also Examples

View source: R/plot.R

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

1
2
## S3 method for class '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.

Author(s)

Daniela Pauger, Magdalena Leitner <effectfusion.jku@gmail.com>

See Also

effectFusion

Examples

1
## see example for effectFusion

Example output



effectFusion documentation built on Oct. 14, 2021, 1:07 a.m.