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

rstanarm

This is an R package that emulates other R model-fitting functions but uses Stan (via the rstan package) for the back-end estimation. The primary target audience is people who would be open to Bayesian inference if using Bayesian software were easier but would use frequentist software otherwise.

Installation

Latest Release

The most recent rstanarm release can be installed from CRAN via

install.packages("rstanarm")

Development Version

To install from GitHub, first make sure that you can install the rstan package and C++ toolchain by following these instructions. Once rstan is successfully installed, you can install rstanarm from GitHub using the devtools package by executing the following in R:

if (!require(devtools)) {
  install.packages("devtools")
  library(devtools)
}
install_github("stan-dev/rstanarm", args = "--preclean", local = FALSE, build_vignettes = TRUE)

Make sure to include the args = "--preclean" argument or the development version of package will not install properly. If installation fails, please let us know by filing an issue.

Getting help

Contributing

If you are interested in contributing to the development of rstanarm please see the Contributing to development page of the wiki.

Copy Link

Version

Down Chevron

Install

install.packages('rstanarm')

Monthly Downloads

13,317

Version

2.13.1

License

GPL (>=3)

Maintainer

Last Published

November 20th, 2016

Functions in rstanarm (2.13.1)