traceplot {bpnreg}R Documentation

Traceplots

Description

Traceplot function for a bpnr object or bpnme object.

Usage

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

Arguments

object

an object used to select a method.

parameter

one of c("b1", "b2", beta1", "beta2", a.x", "a.c", "b.c", "SAM", "AS", "SSDO", "circ.diff", "omega1", "omega2", "cRI", "cRS") to indicate for which parameter a traceplot is required. beta1 and beta2 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. b1 and b2 are the random 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. omega1 and omega2 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

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


[Package bpnreg version 2.0.3 Index]