Other packages > Find by keyword >

rstan  

R Interface to Stan
View on CRAN: Click here


Download and install rstan package within the R console
Install from CRAN:
install.packages("rstan")

Install from Github:
library("remotes")
install_github("cran/rstan")

Install by package version:
library("remotes")
install_version("rstan", "2.32.6")



Attach the package and use:
library("rstan")
Maintained by
Ben Goodrich
[Scholar Profile | Author Map]
First Published: 2015-07-18
Latest Update: 2024-01-10
Description:
User-facing R functions are provided to parse, compile, test, estimate, and analyze Stan models by accessing the header-only Stan library provided by the 'StanHeaders' package. The Stan project develops a probabilistic programming language that implements full Bayesian statistical inference via Markov Chain Monte Carlo, rough Bayesian inference via 'variational' approximation, and (optionally penalized) maximum likelihood estimation via optimization. In all three cases, automatic differentiation is used to quickly and accurately evaluate gradients without burdening the user with the need to derive the partial derivatives.
How to cite:
Ben Goodrich (2015). rstan: R Interface to Stan. R package version 2.32.6, https://cran.r-project.org/web/packages/rstan. Accessed 15 Apr. 2025.
Previous versions and publish date:
2.7.0-1 (2015-07-18 17:00), 2.8.0 (2015-09-19 19:50), 2.8.1 (2015-11-19 11:02), 2.8.2 (2015-11-27 08:53), 2.9.0-3 (2016-02-12 01:23), 2.9.0 (2016-01-05 21:02), 2.10.1 (2016-06-24 19:14), 2.11.1 (2016-07-29 06:41), 2.12.1 (2016-09-12 09:14), 2.13.2 (2016-12-18 11:23), 2.14.1 (2016-12-28 18:27), 2.14.2 (2017-03-19 12:39), 2.15.1 (2017-04-19 11:15), 2.16.2 (2017-07-03 12:51), 2.17.2 (2017-12-21 01:26), 2.17.3 (2018-01-20 16:33), 2.17.4 (2018-10-01 07:30), 2.18.1 (2018-10-16 06:20), 2.18.2 (2018-11-07 21:10), 2.19.2 (2019-07-09 14:40), 2.19.3 (2020-02-11 14:02), 2.21.1 (2020-07-08 15:10), 2.21.2 (2020-07-27 11:50), 2.21.3 (2021-12-20 00:30), 2.21.5 (2022-04-11 16:20), 2.21.7 (2022-09-08 13:00), 2.21.8 (2023-01-17 13:40), 2.26.23 (2023-09-08 12:30), 2.32.3 (2023-10-15 07:00), 2.32.5 (2024-01-10 21:20), 2.32.6 (2024-03-05 18:00)
Other packages that cited rstan R package
View rstan citation profile
Other R packages that rstan depends, imports, suggests or enhances
Complete documentation for rstan
Functions, R codes and Examples using the rstan R package
Some associated functions: As.mcmc.list . Rhat . check_hmc_diagnostics . expose_stan_functions . extract_sparse_parts . lookup . makeconf_path . monitor . nlist . plotting-functions . print.stanfit . read_rdump . rstan-internal . rstan . rstan.package.skeleton . rstan_options . sbc . set_cppo . sflist2stanfit . stan . stan_csv . stan_demo . stan_model . stan_plot . stan_plot_diagnostics . stan_plot_options . stan_rdump . stan_version . stanc . stanfit-class . stanfit-method-extract . stanfit-method-logprob . stanfit-method-loo-moment-match . stanfit-method-loo . stanfit-method-pairs . stanfit-method-plot . stanfit-method-summary . stanfit-method-traceplot . stanfit2array-method . stanmodel-class . stanmodel-method-gqs . stanmodel-method-optimizing . stanmodel-method-sampling . stanmodel-method-vb . 
Some associated R codes: AllClass.R . Rcpp_module_def.R . SBC.R . chains.R . check_hmc_diagnostics.R . cxxdso-class.R . cxxfunplus.R . doctor_cppcode.R . dynGet.R . exposeStanClass.R . expose_stan_functions.R . extract_sparse_parts.R . get_rng.R . get_stream.R . gqs_light.R . loo.R . lookup.R . makefile_op.R . misc.R . monitor.R . options.R . pairs.R . plugin.R . rstan.R . rstan_package_skeleton.R . stan_csv.R . stan_demo.R . stan_plot.R . stan_plot_helpers.R . stan_plot_options.R . stanc.R . stanfit-class.R . stanmodel-class.R . zzz.R .  Full rstan package functions and examples
Downloads during the last 30 days
03/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/14Downloads for rstan1000120014001600180020002200240026002800300032003400TrendBars

Today's Hot Picks in Authors and Packages

ktsolve  
Configurable Function for Solving Families of Nonlinear Equations
This is designed for use with an arbitrary set of equations with an arbitrary set of unknowns. The ...
Download / Learn more Package Citations See dependency  
mt  
Metabolomics Data Analysis Toolbox
Functions for metabolomics data analysis: data preprocessing, orthogonal signal correction, PCA ana ...
Download / Learn more Package Citations See dependency  
StructFDR  
False Discovery Control Procedure Integrating the Prior Structure Information
Perform more powerful false discovery control (FDR) for microbiome data, taking into account the pri ...
Download / Learn more Package Citations See dependency  
ffscrapr  
API Client for Fantasy Football League Platforms
Helps access various Fantasy Football APIs by handling authentication and rate-limiting, forming ap ...
Download / Learn more Package Citations See dependency  
Maintainer: Tan Ho (view profile)
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
mipplot  
An Open-Source Tool for Visualization of Climate Mitigation Scenarios
Generic functions to produce area/bar/box/line plots of data following IAMC (Integrated Assessment M ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,993

Author Associations

24,013

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA