View source: R/slimr_scripting.R
If your slimr_script object has made use of special slimrlang
syntax such as slimr_template, slimr_input,
or slimr_output, this function will 'render' the slimr_script
into valid SLiM syntax, ready to be run with SLiM or slim_run_script
1 | slimr_script_render(slimr_script, template = NULL, replace_NAs = FALSE)
|
slimr_script |
The |
template |
A list or data.frame containing values for any templated variables. If a list,
it must be named, where the names correspond to the variables. If a list of lists, the internal
lists must be names with the variable names, and |
replace_NAs |
Should |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.