powered by
Gives the coefficients tables of the circular coefficients for a Bayesian circular regression model.
# S3 method for bpnr coef_circ(object, type = "continuous", units = "radians")
a bpnr object obtained from the function bpnr
bpnr object
bpnr
one of c("continuous", "categorical") to get either the coefficients for the continuous or categorical predictor variables
c("continuous", "categorical")
one of c("degrees", "radians") to get categorical coefficients estimates and estimates for $ac$, $bc$, AS and SAM in degrees or radians.
c("degrees", "radians")
$ac$, $bc$, AS and SAM
A matrix or list with posterior summaries of the circular coefficients in a Bayesian circular regression model.
# NOT RUN { 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") # }
Run the code above in your browser using DataLab