coef_lin.bpnr: Obtain the linear coefficients of a Bayesian circular...

Description Usage Arguments Value Examples

View source: R/classfunctions.R

Description

Gives the coefficients tables of the linear coefficients for a circular regression model.

Usage

1
2
## S3 method for class 'bpnr'
coef_lin(object)

Arguments

object

a bpnr object obtained from the function bpnr.

Value

A matrix with posterior summaries of the linear coefficients in a Bayesian circular regression model.

Examples

1
2
3
4
library(bpnreg)
fit.Motor <- bpnr(pred.I = Phaserad ~ 1 + Cond, data = Motor,
its = 100, burn = 10, n.lag = 3)
coef_lin(fit.Motor)

bpnreg documentation built on Aug. 6, 2021, 9:07 a.m.