View source: R/struct_templates.R
struct_template | R Documentation |
Create a struct template
struct_template(
template = "model",
output,
in_editor = TRUE,
overwrite = FALSE
)
template |
the type of object you want a template for e.g. 'model' |
output |
the name/path of the output file |
in_editor |
TRUE/FALSE to open the created file in the default editor |
overwrite |
= TRUE/FALSE to overwrite file if exists already |
A template is created at the output location specified
## Not run:
struct_template('model','example.R',FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.