traceplot: Traceplots

Description Usage Arguments Examples

View source: R/classfunctions.R

Description

Traceplot function for a bpnr object or bpnme object.

Usage

1
traceplot(object, parameter = "SAM", variable = NULL)

Arguments

object

an object used to select a method.

parameter

one of c("B1", "B2", 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. B1, Beta.I, B2 and Beta.II are the linear intercepts and coefficients of the first and second component for a regression model and 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.

Examples

1
2
3
4
library(bpnreg)
fit.Motor <- bpnr(pred.I = Phaserad ~ 1 + Cond, data = Motor,
its = 100, burn = 10, n.lag = 3)
traceplot(fit.Motor, parameter = "B1")

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