View source: R/parameterize-template.R
parameterize_template | R Documentation |
Create a template with parameters
parameterize_template(tmpl)
tmpl |
a template, where parameters are ##highlighted## with double-octothorpes |
greeting_template <- "my name is ##name##, and I am ##age## years old" greeter <- parameterize_template(greeting_template) greeter(name = "tarak", age = 36)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.