Learn R Programming

circglmbayes

R Package for a Bayesian Circular GLM

This package contains functions to perform a Bayesian circular GLM, which allows regressing a circular outcome on linear and categorical predictors.

In order to use this package from R, it can be installed from GitHub using the devtools package as

install.packages("devtools")
devtools::install_github("keesmulder/circglmbayes")

For further help on this package, install it as above, attach it with library(circglmbayes) and run help("circglmbayes") or ?circGLM.

Copy Link

Version

Install

install.packages('circglmbayes')

Monthly Downloads

6

Version

1.3.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Kees Mulder

Last Published

January 22nd, 2021

Functions in circglmbayes (1.3.0)

essbhv

Basic Human Values data
circglmbayes

circglmbayes: A package for the Bayesian circular GLM.
circGLM

Fitting Bayesian circular General Linear Models
cglmShiny

cglmShiny
arcDistance

Compute the arc distance between two angular vectors
IC_compare.circGLM

Compare the information criteria of several circGLM models.
coef.circGLM

Extract circGLM Coefficients
BF.circGLM

Obtain Bayes Factors or posterior odds from circGLM objects
estimateDensityBySpline

Estimate the density value from a sample by a spline interpolation of the kernel density
circSD

Compute the Circular Standard Deviation
getPMP

Obtain posterior model probabilities
plot_meancompare.circGLM

Plot mean comparisons for a circGLM object
plot_meanboxplot.circGLM

Plot mean comparison boxplot from circGLM objects
predict_function.circGLM

Obtain a prediction function from a circGLM object
medianDirection

Compute the median direction
mcmc_summary.circGLM

Obtain different central tendencies and CIs from a circGLM object
print.circGLM

Print circGLM Object
predict.circGLM

Obtain predictions for the circGLM model
rvmc

Generate a random variate from the von Mises distribution
plot_tracestack.circGLM

Plot a stack of traceplots for a circGLM object
residuals.circGLM

Obtain residuals from a circGLM object
modalDirection

Estimate the modal direction
fixResultNames

Fix names for circGLM vector output
is.dichotomous

Check if a predictor is dichotomous
print_all.circGLM

Print all results from a circGLM object
print_coef.circGLM

Print circGLM coefficients
generateCircGLMData

Generate data that follows the circular GLM model
plot_predict.circGLM

Create a prediction plot from a circGLM object
sampleKappa

Sample a value from the Bessel exponential distribution
plot.circGLM

Plot circGLM object
plot_trace.circGLM

Make traceplots for circGLM
print_text.circGLM

Print the main results from a circGLM object.
print_mcmc.circGLM

Print the mcmc results from a circGLM object