coef_circ.bpnr {bpnreg} | R Documentation |
Obtain the circular coefficients of a Bayesian circular regression model
Description
Gives the coefficients tables of the circular coefficients for a Bayesian circular regression model.
Usage
## S3 method for class 'bpnr'
coef_circ(object, type = "continuous", units = "radians")
Arguments
object |
a |
type |
one of |
units |
one of |
Value
A matrix or list with posterior summaries of the circular coefficients in a Bayesian circular regression model.
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")
[Package bpnreg version 2.0.3 Index]