Skip to contents

Help

stantargets-package
targets: Targets Archetypes for Stan

Examples

tar_stan_example_data()
Simulate example data for tar_stan_example_file().
tar_stan_example_file()
Write an example Stan model file.

MCMC

tar_stan_mcmc()
One MCMC per model with multiple outputs
tar_stan_mcmc_rep_diagnostics()
Multiple MCMCs per model with sampler diagnostics
tar_stan_mcmc_rep_draws()
Multiple MCMC runs per model with draws
tar_stan_mcmc_rep_summary()
Multiple MCMCs per model with summaries

Generated quantities

tar_stan_gq()
Generated quantities on an existing CmdStanFit object
tar_stan_gq_rep_draws()
Multiple runs of generated quantities per model with draws
tar_stan_gq_rep_summary()
Multiple runs of generated quantities per model with summaries

Variational Bayes

tar_stan_vb()
One variational Bayes run per model with multiple outputs
tar_stan_vb_rep_draws()
Multiple variational Bayes runs per model with draws
tar_stan_vb_rep_summary()
Multiple iterations per model of variational Bayes with summaries

Optimization

tar_stan_mle()
One optimization run per model with multiple outputs
tar_stan_mle_rep_draws()
Multiple optimization runs per model with draws
tar_stan_mle_rep_summary()
Multiple optimization runs per model with summaries

Other targets

tar_stan_compile()
Local Stan model compilation
tar_stan_summary()
One summary of a CmdStanFit object