plot.circGLM: Plot circGLM object

View source: R/circGLMClassPlotFunctions.R

plot.circGLMR Documentation

Plot circGLM object

Description

General plot function for circGLM objects, which dispatches the chosen type of plotting to the corresponding function.

Usage

## S3 method for class 'circGLM'
plot(x, type = "trace", ...)

Arguments

x

A circGLM object to be plotted.

type

Character string giving the type of plotting. The options are "trace", "tracestack", "predict", "meancompare" and "meanboxplot".

...

Additional arguments to be passed to subsequent plot functions.

See Also

plot_trace.circGLM, plot_tracestack.circGLM, plot_predict.circGLM, plot_meancompare.circGLM and plot_meanboxplot.circGLM.

Examples

plot(circGLM(th = rvmc(10, 1, 1)))

dat <- generateCircGLMData(n = 100, nconpred = 1, ncatpred = 1)
m   <- circGLM(th ~ ., dat, Q = 100, burnin = 0)

# Traceplot by default
plot(m)

# Traceplot stack
plot(m, type = "tracestack")

# Prediction plot
plot(m, type = "predict")

# Mean comparisons
plot(m, type = "meancompare")
plot(m, type = "meanboxplot")


keesmulder/circglmbayes documentation built on July 24, 2022, 6:39 a.m.