coef_circ: Circular coefficients

View source: R/classfunctions.R

coef_circR Documentation

Circular coefficients

Description

coef_circ gives posterior summaries of the circular coefficients.

Usage

coef_circ(object, type = "continuous", units = "radians")

Arguments

object

an object used to select a method.

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.

Details

the methods coef_circ.bpnr and coef_circ.bpnme have their own help page.

Examples

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


joliencremers/bpnreg documentation built on Nov. 9, 2023, 4:55 a.m.