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]
All associated links for this package
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 21 Dec. 2024.
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)
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

CIFsmry  
Weighted summary of cumulative incidence functions
Estimate of cumulative incidence function in two samples. Provide weighted summary statistics based ...
Download / Learn more Package Citations See dependency  
condGEE  
Parameter Estimation in Conditional GEE for Recurrent Event Gap Times
Solves for the mean parameters, the variance parameter, and their asymptotic variance in a condition ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SEIRfansy  
Extended Susceptible-Exposed-Infected-Recovery Model
Extended Susceptible-Exposed-Infected-Recovery Model for handling high false negative rate and symp ...
Download / Learn more Package Citations See dependency  
helda  
Preprocess Data and Get Better Insights from Machine Learning Models
The main focus is on preprocessing and data visualization of machine learning models performances.So ...
Download / Learn more Package Citations See dependency  
batteryreduction  
An R Package for Data Reduction by Battery Reduction
Battery reduction is a method used in data reduction. It uses Gram-Schmidt orthogonal rotations to f ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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