`install.packages('rstan')`

61,614

2.32.3

GPL (>= 3)

October 15th, 2023

read_rdump

Read data in an R dump file to a list

sflist2stanfit

Merge a list of stanfit objects into one

print

Print a summary for a fitted model represented by a

`stanfit`

objectsbc

Simulation Based Calibration (sbc)

rstan.package.skeleton

Create a Skeleton for a New Source Package with Stan Programs

set_cppo

Defunct function to set the compiler optimization level

rstan_options

Set and read options used in RStan

rstan-internal

Internal Functions and Methods

rstan-package

RStan --- the R interface to Stan

stan

Fit a model with Stan

stan_model

Construct a Stan model

stan_demo

Demonstrate examples included in Stan

read_stan_csv

Read CSV files of samples generated by (R)Stan into a

`stanfit`

objectPlots

ggplot2 for RStan

stan_rdump

Dump the data for a Stan model to R dump file
in the limited format that Stan can read.

stan_version

Obtain the version of Stan

rstan_gg_options

Set default appearance options

Diagnostic plots

RStan Diagnostic plots

stanc

Translate Stan model specification to C++ code

stanfit-class

Class

`stanfit`

: fitted Stan modelloo_moment_match.stanfit

Moment matching for efficient approximate leave-one-out cross-validation (LOO)

extract

Extract samples from a fitted Stan model

as.array

Create array, matrix, or data.frame objects from samples in a

`stanfit`

objectpairs.stanfit

Create a matrix of output plots from a

`stanfit`

objectloo.stanfit

Approximate leave-one-out cross-validation

log_prob-methods

`log_prob`

and `grad_log_prob`

functionsstanmodel-class

Class representing model compiled from C++

summary-methods

Summary method for stanfit objects

traceplot

Markov chain traceplots

plot-methods

Plots for stanfit objects

optimizing

Obtain a point estimate by maximizing the joint posterior

sampling

Draw samples from a Stan model

gqs

Draw samples of generated quantities from a Stan model

vb

Run Stan's variational algorithm for approximate posterior sampling

Rhat

Convergence and efficiency diagnostics for Markov Chains

lookup

Look up the Stan function that corresponds to a R function or name.

check_hmc_diagnostics

Check HMC diagnostics after sampling

rstan-plotting-functions

RStan Plotting Functions

As.mcmc.list

Create an mcmc.list from a stanfit object

extract_sparse_parts

Extract the compressed representation of a sparse matrix

makeconf_path

Obtain the full path of file

`Makeconf`

expose_stan_functions

Expose user-defined Stan functions to R for testing and simulation

nlist

Created named lists

monitor

Compute summaries of MCMC draws and monitor convergence