View source: R/template_copy.R
ffs_copy_template | R Documentation |
Creates a simulation template file with all of the components of ff_simulate, ready for tinkering!
ffs_copy_template( filename = "ff_simulation.R", template = c("season", "week"), overwrite = NULL )
filename |
New file name, defaults to putting "ff_simulation.R" into your current directory |
template |
choice of template: one of "season" or "week" |
overwrite |
a logical (or NULL) - overwrite if existing file found? |
a success message signalling success/failure.
tmp <- tempfile() ffs_copy_template(tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.