write_stan_files_no_profile | R Documentation |
Write copies of the .stan files of a Stan model and its #include files with all profiling statements removed.
write_stan_files_no_profile(
stan_file,
include_paths = NULL,
target_dir = epinowcast::enw_get_cache()
)
stan_file |
The path to a .stan file containing a Stan program. |
include_paths |
Paths to directories where Stan should look for files specified in #include directives in the Stan program. |
target_dir |
The path to a directory in which the manipulated .stan
files without profiling statements should be stored. To avoid overriding of
the original .stan files, this should be different from the directory of the
original model and the |
A list
containing the path to the .stan file without profiling
statements and the include_paths for the included .stan files without
profiling statements
Functions used to help convert models into the format required for stan
enw_formula_as_data_list()
,
enw_get_cache()
,
enw_model()
,
enw_pathfinder()
,
enw_priors_as_data_list()
,
enw_replace_priors()
,
enw_sample()
,
enw_set_cache()
,
enw_stan_to_r()
,
enw_unset_cache()
,
remove_profiling()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.