[.yamlet | R Documentation |
Subsets yamlet. Preserves class, since a subset of yamlet is still yamlet.
## S3 method for class 'yamlet'
x[...]
x |
object to subset |
... |
passed to next method |
yamlet
Other yamlet:
as.character.yamlet()
,
as_yamlet.character()
,
as_yamlet.data.frame()
,
as_yamlet.list()
,
as_yamlet.yamlet()
,
as_yamlet.yam()
,
as_yamlet()
,
print.yamlet()
meta <- system.file(package = 'yamlet', 'extdata','quinidine.yaml')
meta <- as_yamlet(meta)
class(meta)
stopifnot(inherits(meta[1:2],'yamlet'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.