Learn R Programming

yamlet (version 0.6.5)

unclassified.data.frame: Unclassify Data Frame

Description

Unclassifies data.frame. Coerces 'classified' items to original values, rebuilding codelist attribute.

Usage

# S3 method for data.frame
unclassified(x, ...)

Arguments

x

data.frame

...

passed to select to limit scope

Value

data.frame

See Also

Other classified: [.classified(), [<-.classified(), [[.classified(), [[<-.classified(), c.classified(), classified.data.frame(), classified.default(), classified(), unclassified.classified(), unclassified()

Examples

Run this code
# NOT RUN {
library(magrittr)
file <- system.file(package = 'yamlet', 'extdata','quinidine.csv')
x <- decorate(file)
x %>% explicit_guide %>% decorations(Age, Race, Heart:glyco)
x %>% explicit_guide %>% classified %>% unclassified %>% decorations(Age, Race, Heart:glyco)
# }

Run the code above in your browser using DataLab