Learn R Programming

yamlet (version 0.6.5)

decorate: Decorate a List-like Object

Description

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

See Also

Other decorate: as_decorated.default(), as_decorated(), decorate.character(), decorate.data.frame(), decorate.list(), decorations.data.frame(), decorations(), redecorate()

Examples

Run this code
# NOT RUN {
library(csv)
file <- system.file(package = 'yamlet', 'extdata','quinidine.csv')
x <- decorate(as.csv(file))
identical(decorate(as.csv(file)), decorate(file))
decorations(x)


# }

Run the code above in your browser using DataLab