C++ Header Files for Stan

The C++ header files of the Stan project are provided by this package, but it contains no R code or function documentation. There is a shared object containing part of the 'CVODES' library, but it is not accessible from R. 'StanHeaders' is only 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.


This package provides R with access to Stan header files. Stan is a probabilistic programming language implementing full Bayesian statistical inference with MCMC sampling and penalized maximum likelihood estimation with optimization.

By placing these headers in this package, we offer a more efficient distribution system for CRAN as replication of this code in the sources of other packages is avoided.

It can be used via the LinkingTo: field in the DESCRIPTION field of an R package --- and the R package infrastructure tools will then know how to set include flags correctly on all architectures supported by R.

See also

http://mc-stan.org/

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("StanHeaders")

2.18.1-10 by Ben Goodrich, 10 days ago


http://mc-stan.org/


Browse source code at https://github.com/cran/StanHeaders


Authors: Ben Goodrich [cre, aut] , Joshua Pritikin [ctb] , Andrew Gelman [aut] , Bob Carpenter [aut] , Matt Hoffman [aut] , Daniel Lee [aut] , Michael Betancourt [aut] , Marcus Brubaker [aut] , Jiqiang Guo [aut] , Peter Li [aut] , Allen Riddell [aut] , Marco Inacio [aut] , Mitzi Morris [aut] , Jeffrey Arnold [aut] , Rob Goedman [aut] , Brian Lau [aut] , Rob Trangucci [aut] , Jonah Gabry [aut] , Alp Kucukelbir [aut] , Robert Grant [aut] , Dustin Tran [aut] , Michael Malecki [aut] , Yuanjun Gao [aut] , Trustees of Columbia University [cph] , Lawrence Livermore National Security [cph] (CVODES) , The Regents of the University of California [cph] (CVODES) , Southern Methodist University [cph] (CVODES)


Documentation:   PDF Manual  


BSD_3_clause + file LICENSE license


Suggests Rcpp, RcppEigen, BH, knitr, rmarkdown, Matrix, methods, rstan

System requirements: pandoc


Depended on by bayesvl, llbayesireg, rstan.

Linked to by BMSC, DeLorean, MADPop, MetaStan, OpenMx, OsteoBioR, RBesT, Rlgt, bayesdfa, beanz, bmlm, breathteststan, conStruct, ctsem, dfpk, eggCounts, gastempt, glmmfields, hBayesDM, idealstan, idem, nlmixr, pcFactorStan, rmdcev, rstanarm, rstanemax, rstap, ssMousetrack, survHE, tmbstan, trialr, walker.


See at CRAN