Skip to contents

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

Examples

library(csv)
file <- system.file(package = 'yamlet', 'extdata','quinidine.csv')
x <- decorate(as.csv(file))
as_yamlet(x)
#> - Subject: 
#> - time: 
#> - conc: 
#> - dose: 
#> - interval: 
#> - Age: 
#> - Height: 
#> - Weight: 
#> - Race: 
#> - Smoke: 
#> - Ethanol: 
#> - Heart: 
#> - Creatinine: 
#> - glyco: