as.character.yam | R Documentation |
Coerces class yam to character. Forms the basis for a yamlet emitter.
## S3 method for class 'yam'
as.character(x, ...)
x |
yam |
... |
ignored; keys is an attribute of yam |
character
Other yam:
as_yam.character()
,
as_yam.yamlet()
,
as_yam()
foo <- as_yamlet(c('id: subject','amt: dose'))
class(foo)
bar <- as_yam(foo)
class(bar)
as.character(bar)
as.character(
as_yam(
as_yamlet(
"race: [label: race, guide: [ white: 0, black: 1, asian: 2 ], multiple: ['yes': 1, 'no': 0]]"
)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.