as_yamlet.data.frame: Coerce Data Frame to Yamlet

View source: R/yamlet.R

as_yamlet.data.frameR Documentation

Coerce Data Frame to Yamlet

Description

Coerces data.frame to yamlet by calling decorations.

Usage

## 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

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

yamlet documentation built on Oct. 6, 2023, 9:07 a.m.