Skip to content

maRce10/brmsish

Repository files navigation

brmsish: miscellaneous functions to customize brms regression models

lifecycle Dependencies Project Status: Active The project has reached a stable, usable state and is being actively developed. Licence minimal R versionpackageversionLast-changedate CRAN_Status_Badge Total Downloads Codecov test coverageR-CMD-check

This package offers functions to visualize and/or modify brms models. It’s a collection of functions that I have been accumulating as I have been trying to customize the output of brms models. So far the package has functions for:

  • Running multiple comparisons (e.g. contrasts) between levels of a categorical variable
  • Plotting posterior distributions, trace plots and diagnostics plots in a Rmarkdown friendly format
  • Running models on a population of phylogenetic trees to account for phylogenetic uncertainty
  • Combining a bunch of models saved as RDS files

To install the latest developmental version from github you will need the R package remotes (although it may not install at all):

# From github
remotes::install_github("maRce10/brmsish")

# load package
library(brmsish)

The package documentation can be found here.

Please cite brmsish as follows:

Araya-Salas (2022), brmsish: Miscellaneous functions to customize brms bayesian regression models. R package version 1.0.0.

References

  1. Buerkner, P. C. (2017). brms: An R package for Bayesian multilevel models using Stan. Journal of statistical software, 80, 1-28.

  2. Buerkner, P. C. (2017). Advanced Bayesian multilevel modeling with the R package brms. arXiv preprint arXiv:1705.11123.

  3. Nalborczyk, L., Batailler, C., Lœvenbruck, H., Vilain, A., & Buerkner, P. C. (2019). An introduction to Bayesian multilevel models using brms: A case study of gender effects on vowel variability in standard Indonesian. Journal of Speech, Language, and Hearing Research, 62(5), 1225-1242.

About

brmsish: miscellaneous functions to customize brms regression models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages