template | R Documentation |
Each line of a code template consists of condition based on the unnamed parameters and R code in which replacements with named parameters done.
template(text, ...)
text |
a code template |
... |
further parameters |
a character vector
template(" 1: 'Hello {{letter}}' !1: 'Good-bye {{letter}}' ", letter=sample(LETTERS, 1), runif(1)<0.5 #1 = first unnamed parameter )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.