View source: R/replace-token-function.R
replace.token | R Documentation |
To replace tokens in in documents (e.g. calibration certificate templates) with valid input - typically generated by the software. The modified text is for Latex typesetting. Sample call:
txt <- "jsjdksfkd TOKEN.CERTDATE jsfhjhfjkhjfadsk safjsfkf"
txt <- replace.token(txt,"TOKEN.CERTDATE","December 24, 1999")
txt <- replace.token(txt,"TOKEN.CERTDATE","December 24, 1999")
TOKEN.ID |
(e.g. "TOKEN.XYZ"). |
Replace.auto |
(e.g. ""). |
Replace.manual |
as an alternative (set to NULL). |
text (typically an entire document with many lines).
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.