yaml | R Documentation |
write2
Include a YAML header in write2
yaml(...)
## S3 method for class 'yaml'
print(x, ...)
## S3 method for class 'yaml'
c(..., recursive = FALSE)
is.yaml(x)
... |
For |
x |
An object of class |
recursive |
Not in use at this time. |
A text string of class "yaml"
.
Ethan Heinzen, adapted from an idea by Brendan Broderick
as.yaml
, write2
x <- yaml(title = "My cool title", author = "Ethan P Heinzen")
x
y <- yaml("header-includes" = list("\\usepackage[labelformat=empty]{caption}"))
y
c(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.