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 26 Mar. 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
02/2402/2502/2602/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/25Downloads for rstan1000150020002500300035004000TrendBars

Today's Hot Picks in Authors and Packages

fPortfolio  
Rmetrics - Portfolio Selection and Optimization
A collection of functions to optimize portfolios and to analyze them from different points of view. ...
Download / Learn more Package Citations See dependency  
sAIC  
Akaike Information Criterion for Sparse Estimation
Computes the Akaike information criterion for the generalized linear models (logistic regression, Po ...
Download / Learn more Package Citations See dependency  
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  
DySS  
Dynamic Screening Systems
In practice, we will encounter problems where the longitudinal performance of processes needs to be ...
Download / Learn more Package Citations See dependency  
Maintainer: Lu You (view profile)
MGL  
Module Graphical Lasso
An aggressive dimensionality reduction and network estimationtechnique for a high-dimensiona ...
Download / Learn more Package Citations See dependency  
provenance  
Statistical Toolbox for Sedimentary Provenance Analysis
Bundles a number of established statistical methods to facilitate the visual interpretation of large ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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