Learn R Programming

⚠️There's a newer version (2.6.0) of this package.Take me there.

rstantools (version 1.5.0)

Tools for Developing R Packages Interfacing with 'Stan'

Description

Provides various tools for developers of R packages interfacing with 'Stan' , 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.

Copy Link

Version

Install

install.packages('rstantools')

Monthly Downloads

288,424

Version

1.5.0

License

GPL (>= 3)

Maintainer

Jonah Gabry

Last Published

April 17th, 2018

Functions in rstantools (1.5.0)

prior_summary

Generic function for extracting information about prior distributions
bayes_R2

Generic function and default method for Bayesian R-squared
init_cpp

Register functions implemented in C++
posterior_predict

Generic function for drawing from the posterior predictive distribution
predictive_error

Generic function and default method for predictive errors
posterior_interval

Generic function and default method for posterior uncertainty intervals
log_lik

Generic function for pointwise log-likelihood
loo-prediction

Generic functions for LOO predictions
rstantools-package

Tools for Developing R Packages Interfacing with Stan
predictive_interval

Generic function for predictive intervals
rstan_package_skeleton

Create the skeleton of a new R package with Stan programs
posterior_linpred

Generic function for accessing the posterior distribution of the linear predictor