Learn R Programming

metaplot (version 0.2.7)

pack.folded: Normalize a Folded Data Frame

Description

Convert folded data.frame to conventional format with column attributes. Scalar metadata is converted to column attributes. Other metadata left unfolded.

Usage

# S3 method for folded
pack(x, tolower = TRUE, ...)

Arguments

x

folded

tolower

whether to coerce attribute names to lower case

...

other arguments

Value

data.frame

See Also

fold.data.frame

Other pack: pack.data.frame, pack, unpack.data.frame

Examples

Run this code
# NOT RUN {
library(fold)
data(eventsf)
head(pack(eventsf))
attributes(pack(eventsf)$BLQ)

# }

Run the code above in your browser using DataLab