| tmpl | R Documentation | 
tmpl is the constructor function for template objects.
tmpl(.t, ...)
## S3 method for class 'character'
tmpl(.t, ..., .envir = parent.frame())
## S3 method for class 'formula'
tmpl(.t, ...)
## S3 method for class 'tmpl'
tmpl(.t, ...)
## S3 method for class 'function'
tmpl(.t, ...)
| .t | something that can be interpreted as template. See defined methods for options. | 
| ... | (name = value | name ~ value) name-value expressions passed on to tmplUpdate | 
| .envir | (environment) the environment in which template snippets are
evaluated. For  | 
Objects of class tmpl are stored as a character of length
one. They can contain 'snippets' to be evaluated. These snippets are
identified by an opening {{ and closing }}. The
environment in which they are evaluated is stored in the object. They can
be further augmented by supplying arguments in ....
tmplUpdate, tmplEval
tmpl("Hi {{ toupper(a) }}!", a = "there")
tmpl( ~ {y <- {{ a }}}, a ~ x + 1)
tmpl(function(x) {{ a }} + x, a ~ 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.