Skip to contents

Decorates a list-like object. Generic. See decorate.character.

Usage

decorate(x, ...)

Arguments

x

object

...

passed arguments

Value

a list-like object, typically data.frame

Examples

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