Description Usage Arguments Value See Also Examples
Vectorizes function whisker.render
.
NOTE: Because whisker does not support variable names
inlcuding dots, a dot in column names is replaced by an underscore.
Therefore, you must use an underscore in the template text for
varibales including dots.
1 | template %$$% data
|
template |
template |
data |
data frame where column names correspond to variables names in template |
rendered template
1 2 | vars <- data.frame(a = 1:3, b = 23:21)
"a = {{a}} and b = {{b}}" %$$% vars
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.