coef_circ.bpnme {bpnreg}R Documentation

Obtain the circular coefficients of a Bayesian circular mixed-effects model

Description

Gives the coefficients tables of the circular coefficients for a Bayesian circular mixed-effects model.

Usage

## S3 method for class 'bpnme'
coef_circ(object, type = "continuous", units = "radians")

Arguments

object

a bpnme object obtained from the function bpnme

type

one of c("continuous", "categorical") to get either the coefficients for the continuous or categorical predictor variables

units

one of c("degrees", "radians") to get categorical coefficients estimates and estimates for $ac$, $bc$, AS and SAM in degrees or radians.

Value

A matrix or list with posterior summaries of the circular coefficients in a Bayesian circular mixed-effects model.

Examples

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)
coef_circ(fit.Maps)


[Package bpnreg version 2.0.3 Index]