rstantools v2.1.1

0

Monthly downloads

0th

Percentile

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.

Functions in rstantools

Name Description
prior_summary Generic function for extracting information about prior distributions
predictive_interval Generic function for predictive intervals
log_lik Generic function for pointwise log-likelihood
posterior_epred Generic function for accessing the posterior distribution of the conditional expectation
rstan_config Configure system files for compiling Stan source code
rstan_create_package Create a new R package with compiled Stan programs
nsamples Generic function for extracting the number of posterior samples
loo-prediction Generic functions for LOO predictions
use_rstan Add Stan infrastructure to an existing package
rstantools-package Tools for Developing R Packages Interfacing with Stan
posterior_predict Generic function for drawing from the posterior predictive distribution
posterior_interval Generic function and default method for posterior uncertainty intervals
bayes_R2 Generic function and default method for Bayesian R-squared
predictive_error Generic function and default method for predictive errors
posterior_linpred Generic function for accessing the posterior distribution of the linear predictor
init_cpp Register functions implemented in C++
No Results!

Vignettes of rstantools

Name
developer-guidelines.Rmd
minimal-rstan-package.Rmd
No Results!

Last month downloads

Details

Type Package
Date 2020-07-05
License GPL (>= 3)
URL https://mc-stan.org/rstantools/, https://discourse.mc-stan.org/
BugReports https://github.com/stan-dev/rstantools/issues
Encoding UTF-8
LazyData true
SystemRequirements pandoc, C++14
RoxygenNote 7.1.1
VignetteBuilder knitr
NeedsCompilation no
Packaged 2020-07-06 12:41:29 UTC; jgabry
Repository CRAN
Date/Publication 2020-07-06 16:10:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/rstantools)](http://www.rdocumentation.org/packages/rstantools)