knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)

bpnreg

CRAN_Status_Badge

The goal of bpnreg is to fit Bayesian projected normal regression models for circular data.

Installation

The R-package bpnreg can be installed from CRAN as follows:

install.packages("bpnreg")

You can install a beta-version of bpnreg from github with:

# install.packages("devtools")
devtools::install_github("joliencremers/bpnreg")

Citation

To cite the package ‘bpnreg’ in publications use:

Jolien Cremers (2021). bpnreg: Bayesian Projected Normal Regression Models for Circular Data. R package version 2.0.2. https://CRAN.R-project.org/package=bpnreg

Example

This is a basic example which shows you how to run a Bayesian projected normal regression model:

library(bpnreg)
bpnr(Phaserad ~ Cond + AvAmp, Motor, its = 100)


joliencremers/bpnreg documentation built on Nov. 9, 2023, 4:55 a.m.