| Package overview and global optionsAn overview of the package and how it differs from RStan. | |
|---|---|
| CmdStanR: the R interface to CmdStan | |
| CmdStanR global options | |
| Installing and setting the path to CmdStanInstall CmdStan, assuming the necessary C++ toolchain. | |
| 
 | Install CmdStan or clean and rebuild an existing installation | 
| Get or set the file path to the CmdStan installation | |
| Running CmdStan from RRun CmdStan from R. | |
| Create a new CmdStanModel object | |
| CmdStanModel objects | |
| Check syntax of a Stan program | |
| Compile a Stan program | |
| Run Stan's diagnose method | |
| Expose Stan functions to R | |
| Run stanc's auto-formatter on the model code. | |
| Run Stan's standalone generated quantities method | |
| Run Stan's Laplace algorithm | |
| Run Stan's optimization algorithms | |
| Run Stan's Pathfinder Variational Inference Algorithm | |
| Run Stan's MCMC algorithms | |
| Run Stan's MCMC algorithms with MPI | |
| Input and output variables of a Stan program | |
| Run Stan's variational approximation algorithms | |
| Fit models for use in examples | |
| Fitted model objects and methods | |
| CmdStanMCMC objects | |
| CmdStanMLE objects | |
| CmdStanLaplace objects | |
| CmdStanVB objects | |
| CmdStanPathfinder objects | |
| CmdStanGQ objects | |
| CmdStanDiagnose objects | |
| Run CmdStan's  | |
| Return Stan code | |
| Transform a set of unconstrained parameter values to the constrained scale | |
| Sampler diagnostic summaries and warnings | |
| Extract posterior draws | |
| Calculate the log-probability and the gradient w.r.t. each input for a given vector of unconstrained parameters | |
| Extract gradients after diagnostic mode | |
| Calculate the log-probability , the gradient w.r.t. each input, and the hessian for a given vector of unconstrained parameters | |
| Extract user-specified initial values | |
| Compile additional methods for accessing the model log-probability function and parameter constraining and unconstraining. | |
| Extract inverse metric (mass matrix) after MCMC | |
| Calculate the log-probability given a provided vector of unconstrained parameters. | |
| Leave-one-out cross-validation (LOO-CV) | |
| Extract log probability (target) | |
| Extract metadata from CmdStan CSV files | |
| Extract point estimate after optimization | |
| Extract number of chains after MCMC | |
| Access console output | |
| Return profiling data | |
| Extract return codes from CmdStan | |
| Extract sampler diagnostics after MCMC | |
| Save fitted model object to a file | |
| 
 | Save output and data files | 
| Compute a summary table of estimates and diagnostics | |
| Report timing of CmdStan runs | |
| Transform all parameter draws to the unconstrained scale | |
| Transform a set of parameter values to the unconstrained scale | |
| Return the variable skeleton for  | |
| Expose Stan functions to R | |
| Other tools | |
| Read CmdStan CSV files into R | |
| Write data to a JSON file readable by CmdStan | |
| Write Stan code to a file | |
| Write posterior draws objects to CSV files suitable for running standalone generated quantities with CmdStan. | |
| Convert  | |
| 
 | Create a  | 
| 
 | Coercion methods for CmdStan objects | 
| Using CmdStanR with knitr and R Markdown | |
| Register CmdStanR's knitr engine for Stan | |
| CmdStan knitr engine for Stan | |