rstan - R Interface to Stan
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.
Last updated
bayesian-data-analysisbayesian-inferencebayesian-statisticsmcmcstancpp
21.12 score 1.1k stars 299 dependents 20k scripts 1.5M downloadsStanHeaders - C++ Header Files for Stan
The C++ header files of the Stan project are provided by this package, but it contains little R code or documentation. The main reference is the vignette. There is a shared object containing part of the 'CVODES' library, but its functionality is not accessible from R. 'StanHeaders' is primarily useful for developers who want to utilize the 'LinkingTo' directive of their package's DESCRIPTION file to build on the Stan library without incurring unnecessary dependencies. The Stan project develops a probabilistic programming language that implements full or approximate Bayesian statistical inference via Markov Chain Monte Carlo or 'variational' methods and implements (optionally penalized) maximum likelihood estimation via optimization. The Stan library includes an advanced automatic differentiation scheme, 'templated' statistical and linear algebra functions that can handle the automatically 'differentiable' scalar types (and doubles, 'ints', etc.), and a parser for the Stan language. The 'rstan' package provides user-facing R functions to parse, compile, test, estimate, and analyze Stan models.
Last updated
bayesian-data-analysisbayesian-inferencebayesian-statisticsmcmcstan
17.91 score 1.1k stars 371 dependents 403 scripts 1.4M downloadsRcppParallel - Parallel Programming Tools for 'Rcpp'
High level functions for parallel programming with 'Rcpp'. For example, the 'parallelFor()' function can be used to convert the work of a standard serial "for" loop into a parallel one and the 'parallelReduce()' function can be used for accumulating aggregate or other values.
Last updated
onetbbcpp
15.48 score 173 stars 1.0k dependents 350 scripts 906k downloadsrstantools - Tools for Developing R Packages Interfacing with 'Stan'
Provides various tools for developers of R packages interfacing with 'Stan' <https://mc-stan.org>, including functions to set up the required package structure, S3 generics and default methods to unify function naming across 'Stan'-based R packages, and vignettes with recommendations for developers.
Last updated
bayesian-data-analysisbayesian-statisticsdeveloper-toolsstan
14.69 score 48 stars 241 dependents 191 scripts 340k downloadsQuickJSR - Interface for the 'QuickJS-NG' Lightweight 'JavaScript' Engine
An 'R' interface to the 'QuickJS' portable 'JavaScript' engine. The engine and all 'R' to 'JavaScript' interoperability is bundled within the package, requiring no dependencies beyond a 'C' compiler.
Last updated
cpp
12.14 score 17 stars 297 dependents 22 scripts 698k downloads
cmdstanr - R Interface to 'CmdStan'
A lightweight interface to 'Stan' <https://mc-stan.org>. The 'CmdStanR' interface is an alternative to 'RStan' that calls the command line interface for compilation and running algorithms instead of interfacing with C++ via 'Rcpp'. This has many benefits including always being compatible with the latest version of Stan, fewer installation errors, fewer unexpected crashes in RStudio, and a more permissive license.
Last updated
bayesbayesianmarkov-chain-monte-carlomaximum-likelihoodmcmcstanvariational-inference
11.49 score 159 stars 8 dependents 9.9k scriptsboostmath - 'R' Bindings for the 'Boost' Math Functions
'R' bindings for the various functions and statistical distributions provided by the 'Boost' Math library <https://www.boost.org/doc/libs/latest/libs/math/doc/html/index.html>.
Last updated
cpp
6.84 score 4 stars 19 scripts 211 downloadsjsutils - 'JavaScript' Utilities for 'R'
A collection of popular/useful JavaScript utilities, including the terser minifier, sass compiler, typescript transpiler, and more.
Last updated
3.95 score 1 stars 1 dependents 2 scripts 318 downloads