pn_reg: Bayesian inference for Projected Normal regression.

Description Usage Arguments Value Examples

Description

Bayesian inference for Projected Normal regression.

Usage

1
pn_reg(formula, data, niter = 1000, thin = 1, burnin = 0, ...)

Arguments

formula

an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted.

data

A data frame or matrix containing the circular observations and predictors.

niter

Number of iterations to perform MCMC for.

thin

Integer; Factor of thinning. Setting thin = 1 provides no thinning.

burnin

Integer; Number of iterations to burn.

...

Further arguments passed to circglmbayes::circGLM.

Value

Object of type pn_reg_mod.

Examples

1
pn_reg(th ~ ., rvm_reg(20, beta = c(.5, -.2), kp = 50))

keesmulder/circbayes documentation built on May 30, 2019, 2:04 p.m.