Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/ReplaceInTemplate.R
Replace keys within special markups in a template text with specified values. Pieces of R code can be put into the markups of the template text, and are evaluated during the replacement.
1 | ReplaceInTemplate(text, replacement = list())
|
text |
'character' vector. Template text |
replacement |
'list'.
Values to replace in |
Keys are enclosed into markups of the form $(KEY)
and @{CODE}
.
A 'character' vector of strings after key replacement.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
This code was derived from the
sensitivity::template.replace
function,
accessed on Feb 6, 2015.
1 2 3 4 5 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.