| as_yamlet.yam | R Documentation |
Coerces yam to yamlet format. If the object
or user specifies default keys, these are applied
See as_yamlet.character.
## S3 method for class 'yam'
as_yamlet(
x,
default_keys = getOption("yamlet_default_keys", list("label", "guide")),
...
)
x |
a yam object; see |
default_keys |
character: default keys for the first n anonymous members of each element |
... |
ignored |
yamlet: a named list with default keys applied
Other yamlet:
[.yamlet(),
as.character.yamlet(),
as_yamlet(),
as_yamlet.character(),
as_yamlet.data.frame(),
as_yamlet.list(),
as_yamlet.yamlet(),
print.yamlet()
file <- system.file(package = 'yamlet', 'extdata','quinidine.yaml')
file
as_yamlet(as_yam(file))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.