Learn R Programming

yamlet (version 1.2.1)

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, ...)

Value

data.frame

Arguments

x

data.frame

...

passed to select to limit scope

See Also

Other classified: [.classified(), [<-.classified(), [[.classified(), [[<-.classified(), as.integer.classified(), c.classified(), classified(), classified.classified(), classified.data.frame(), classified.default(), classified.dvec(), classified.factor(), desolve.classified(), unclassified(), unclassified.classified()

Examples

Run this code
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