plot_meancompare.circGLM: Plot mean comparisons for a circGLM object

Description Usage Arguments Details See Also Examples

View source: R/circGLMClassPlotFunctions.R

Description

If the main predictors of interest for the circGLM are categorical, it can be insightful to plot the posteriors of the group means side-by-side, which this function does. This is particularly useful for ANOVA or ANCOVA type designs.

Usage

1
plot_meancompare.circGLM(m, alpha = 0.7, xlab = "Mean direction")

Arguments

m

A circGLM object.

alpha

The transparency (alpha) of the plotted densities.

xlab

The label of the x-axis.

Details

If there are linear predictors in the model as well, the posteriors displayed will correspond to the intercept parameter for each group.

See Also

plot_trace.circGLM, plot_tracestack.circGLM, plot_predict.circGLM, plot_meanboxplot.circGLM, plot.circGLM.

Examples

1
2
3
dat <- generateCircGLMData(nconpred = 0)
m   <- circGLM(th ~ ., dat)
plot_meancompare.circGLM(m)

circglmbayes documentation built on Jan. 22, 2021, 5:09 p.m.