decorate: Decorate a List-like Object

Description Usage Arguments Value See Also Examples

View source: R/decorate.R

Description

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

Usage

1

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

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

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