traceplot.bpnme: Traceplots for a Bayesian circular mixed-effects model

Description Usage Arguments Examples

View source: R/classfunctions.R

Description

General plot function for a bpnme object.

Usage

1
2
## S3 method for class 'bpnme'
traceplot(object, parameter = "SAM", variable = NULL)

Arguments

object

a bpnme object obtained from the function bpnme

parameter

one of c(Beta.I", "Beta.II", a.x", "a.c", "b.c", "SAM", "AS", "SSDO", "circ.diff", "VCovI", "VCovII", "cRI", "cRS") to indicate for which parameter a traceplot is required. Beta.I and Beta.II are the fixed effects coefficients of a mixed-effects model. circ.diff are the circular differences with the intercept on the outcome variable for the different levels of categorical variables. VCovI and VCovII are the linear random effect variances and cRI and cRS are the variances of the circular random intercept and circular random slope.

variable

a character string with variable name(s) to indicate for which variable(s) a traceplot is required. This cannot be used in combination with the parameters c("VCovI", "VCovII", "cRI", "cRS").

Examples

1
2
3
4
5
library(bpnreg)
fit.Maps <- bpnme(pred.I = Error.rad ~ Maze + Trial.type + L.c + (1|Subject),
data = Maps,
its = 100, burn = 1, n.lag = 1)
traceplot(fit.Maps)

bpnreg documentation built on May 2, 2019, 6:37 a.m.