| as.character.yamlet | R Documentation | 
Coerces yamlet to character.  See also as_yamlet.character.
## S3 method for class 'yamlet'
as.character(x, sort = TRUE, ...)
| x | yamlet | 
| sort | whether to coerce attribute order using  | 
| ... | passed to  | 
character
Other yamlet: 
[.yamlet(),
as_yamlet(),
as_yamlet.character(),
as_yamlet.data.frame(),
as_yamlet.list(),
as_yamlet.yam(),
as_yamlet.yamlet(),
print.yamlet()
as.character(as_yamlet('ID: subject identifier'))
as.character(as_yamlet(c('id: subject','amt: dose')))
as.character(as_yamlet(c('id: subject\namt: dose')))
foo <- as_yamlet(system.file(package = 'yamlet', 'extdata','quinidine.yaml'))
class(foo)
writeLines(as.character(foo))
identical(foo, as_yamlet(as.character(foo)))
identical(as.character(foo), as.character(as_yamlet(as.character(foo))))
file <- system.file(package = 'yamlet','extdata','quinidine.csv')
file
foo <- resolve(decorate(file))
as.character(as_yamlet(foo))
as.character(as_yamlet(foo, exclude_attr = 'class'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.