plot.circGLM: Plot circGLM object

Description Usage Arguments See Also Examples

View source: R/circGLMClassPlotFunctions.R

Description

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

Usage

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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")

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