coef_circ: Circular coefficients

Description Usage Arguments Details Examples

View source: R/classfunctions.R

Description

coef_circ gives posterior summaries of the circular coefficients.

Usage

1
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 $a_c$ in degrees or radians.

Details

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

Examples

1
2
3
4
5
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")

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