Learn R Programming

⚠️There's a newer version (0.0.9) of this package.Take me there.

Bindings for Bayesian TidyModels

bayesian supports Bayesian modeling using brms/Stan with parsnip/tidymodels.

Installation

The stable version of bayesian can be installed from CRAN using:

install.packages("bayesian")

The development version of bayesian can be installed from GitHub using:

install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
pak::pkg_install("hsbadr/bayesian")

Example

library(bayesian)

bayesian_mod <-
  bayesian() %>%
  set_engine("brms") %>%
  fit(
    rating ~ treat + period + carry + (1 | subject),
    data = inhaler
  )

summary(bayesian_mod$fit)

For more details, get started with bayesian.

Citation

To cite bayesian in publications, please use:

citation("bayesian")

Hamada S. Badr and Paul C. Bürkner (2021): bayesian: Bindings for Bayesian TidyModels, Comprehensive R Archive Network (CRAN), DOI: 10.5281/zenodo.4882780.

Contributing

This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('bayesian')

Monthly Downloads

633

Version

0.0.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Hamada S Badr

Last Published

May 31st, 2021

Functions in bayesian (0.0.5)

bayesian

General Interface for Bayesian TidyModels