apply_indent | Apply indention to code lines |
assert_one_of | Check if argument is one of the allowed options |
check_split | Check that code split matches original code |
cmdstan_momentum_draws | Get momentum draws from a cmdstanr fit object run with... |
cmdstan_unconstrained_draws | Get matrix of unconstrained draws from a cmdstanr fit object... |
count_indent_lines | Count how much each line should be indented |
data_8schools | The eight schools data set |
find_block | Find a block from Stan code |
fit_divergences | Analyze a cmdstanr fit to figure out where the divergences... |
format_code | Format Stan code |
full_stan_code | Get full Stan code with includes placed in |
get_block | Return a block from Stan code |
indent_code | Indent code based on (curly) brackets |
justify_line | Justify a line left |
list_functions | Get names of all user-defined functions |
list_output | List output variables of a Stan model |
list_vars | List all output or input variables of a Stan model |
model_8schools | A hierarchical model for the eight schools data |
msg | Print a message if verbose mode is on |
place_includes | Place possible #includes into Stan code |
place_includes_lines | A helper function called recursively by place_includes |
read_file | Read a text file and return its contents as a string |
rstan_hessian | Compute hessian in unconstrained space |
rstan_make_fit | Build an rstan fit object from a modelfile and a data list |
rstan_power_method | Compute largest magnitude eigenvalue of Hessian and... |
rstan_rebuild_trajectory | Recreate an HMC trajectory |
stanbreaker-package | The 'stanbreaker' package. |
stanc3 | Call stanc3 using processx |
string_utils | Common string utilities |
trim_code | Remove trailing white space from each code line |
using_windows | Check if OS is Windows |
write_file | Write text to a file, overwriting old content |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.