as_yamlet.list {yamlet} | R Documentation |
Coerce List to Yamlet
Description
Coerces list to yamlet. Assigns class 'yamlet'. Checks that list has names.
Usage
## S3 method for class 'list'
as_yamlet(x, ...)
Arguments
x |
list |
... |
ignored |
Value
yamlet
See Also
Other yamlet:
[.yamlet()
,
as.character.yamlet()
,
as_yamlet()
,
as_yamlet.character()
,
as_yamlet.data.frame()
,
as_yamlet.yam()
,
as_yamlet.yamlet()
,
print.yamlet()
Examples
x <- list(a = 2, b = 3)
as_yamlet(x)
[Package yamlet version 1.2.5 Index]