Man pages for stan-dev/cmdstanr
R Interface to 'CmdStan'

as_draws.CmdStanMCMCCreate a 'draws' object from a CmdStanR fitted model object
as_mcmc.listConvert 'CmdStanMCMC' to 'mcmc.list'
cmdstan_coercionCoercion methods for CmdStan objects
cmdstan_default_install_pathcmdstan_default_install_path
cmdstan_default_pathcmdstan_default_path
CmdStanDiagnoseCmdStanDiagnose objects
CmdStanGQCmdStanGQ objects
CmdStanLaplaceCmdStanLaplace objects
CmdStanMCMCCmdStanMCMC objects
CmdStanMLECmdStanMLE objects
cmdstan_modelCreate a new CmdStanModel object
CmdStanModelCmdStanModel objects
CmdStanPathfinderCmdStanPathfinder objects
cmdstanr_exampleFit models for use in examples
cmdstanr_global_optionsCmdStanR global options
cmdstanr-packageCmdStanR: the R interface to CmdStan
CmdStanVBCmdStanVB objects
draws_to_csvWrite posterior draws objects to CSV files suitable for...
eng_cmdstanCmdStan knitr engine for Stan
fit-method-cmdstan_summaryRun CmdStan's 'stansummary' and 'diagnose' utilities
fit-method-codeReturn Stan code
fit-method-constrain_variablesTransform a set of unconstrained parameter values to the...
fit-method-diagnostic_summarySampler diagnostic summaries and warnings
fit-method-drawsExtract posterior draws
fit-method-gradientsExtract gradients after diagnostic mode
fit-method-grad_log_probCalculate the log-probability and the gradient w.r.t. each...
fit-method-hessianCalculate the log-probability , the gradient w.r.t. each...
fit-method-initExtract user-specified initial values
fit-method-init_model_methodsCompile additional methods for accessing the model...
fit-method-inv_metricExtract inverse metric (mass matrix) after MCMC
fit-method-log_probCalculate the log-probability given a provided vector of...
fit-method-looLeave-one-out cross-validation (LOO-CV)
fit-method-lpExtract log probability (target)
fit-method-metadataExtract metadata from CmdStan CSV files
fit-method-mleExtract point estimate after optimization
fit-method-num_chainsExtract number of chains after MCMC
fit-method-outputAccess console output
fit-method-profilesReturn profiling data
fit-method-return_codesExtract return codes from CmdStan
fit-method-sampler_diagnosticsExtract sampler diagnostics after MCMC
fit-method-save_objectSave fitted model object to a file
fit-method-save_output_filesSave output and data files
fit-method-summaryCompute a summary table of estimates and diagnostics
fit-method-timeReport timing of CmdStan runs
fit-method-unconstrain_drawsTransform all parameter draws to the unconstrained scale
fit-method-unconstrain_variablesTransform a set of parameter values to the unconstrained...
fit-method-variable_skeletonReturn the variable skeleton for 'relist'
install_cmdstanInstall CmdStan or clean and rebuild an existing installation
model-method-check_syntaxCheck syntax of a Stan program
model-method-compileCompile a Stan program
model-method-diagnoseRun Stan's diagnose method
model-method-expose_functionsExpose Stan functions to R
model-method-formatRun stanc's auto-formatter on the model code.
model-method-generate-quantitiesRun Stan's standalone generated quantities method
model-method-laplaceRun Stan's Laplace algorithm
model-method-optimizeRun Stan's optimization algorithms
model-method-pathfinderRun Stan's Pathfinder Variational Inference Algorithm
model-method-sampleRun Stan's MCMC algorithms
model-method-sample_mpiRun Stan's MCMC algorithms with MPI
model-method-variablesInput and output variables of a Stan program
model-method-variationalRun Stan's variational approximation algorithms
read_cmdstan_csvRead CmdStan CSV files into R
read_sample_csvRead CmdStan CSV files from sampling into R
register_knitr_engineRegister CmdStanR's knitr engine for Stan
set_cmdstan_pathGet or set the file path to the CmdStan installation
stan_threadsSet or get the number of threads used to execute Stan models
write_stan_fileWrite Stan code to a file
write_stan_jsonWrite data to a JSON file readable by CmdStan
write_stan_tempfileWrite Stan code to a temporary file
stan-dev/cmdstanr documentation built on April 12, 2025, 8:40 p.m.