knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
The goal of bpnreg is to fit Bayesian projected normal regression models for circular data.
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")
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
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.