as_yamlet.data.frame: Coerce Data Frame to Yamlet

Description Usage Arguments Value See Also Examples

View source: R/yamlet.R

Description

Coerces data.frame to yamlet by calling decorations.data.frame.

Usage

1
2
## S3 method for class 'data.frame'
as_yamlet(x, ...)

Arguments

x

data.frame

...

passed to decorations

Value

yamlet

See Also

Other yamlet: [.yamlet(), as.character.yamlet(), as_yamlet.character(), as_yamlet.list(), as_yamlet.yamlet(), as_yamlet.yam(), as_yamlet(), print.yamlet()

Examples

1
2
3
4
library(csv)
file <- system.file(package = 'yamlet', 'extdata','quinidine.csv')
x <- decorate(as.csv(file))
as_yamlet(x)

yamlet documentation built on July 19, 2021, 1:06 a.m.