Learn R Programming

bpnreg (version 2.0.3)

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

Description

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

Usage

# S3 method for bpnr
coef_lin(object)

Value

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

Arguments

object

a bpnr object obtained from the function bpnr.

Examples

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

Run the code above in your browser using DataLab