Learn R Programming

klassR (version 0.1.2)

Levels: Title

Description

Title

Usage

Levels(input_level, output_level, klass_data)

Arguments

input_level

Classification level from the original dataset.

output_level

Classification level for which the codes and names are desired by the user.

klass_data

Classification file retrieved from KLASS.

Value

Data frame with the input and extra desired classification levels. Includes codes and names for each level.

Examples

Run this code
# NOT RUN {
klass_data <- GetKlass(klass = "6")
Levels(input_level = 5, output_level = 2, klass_data = klass_data)[1:10, ]
Levels(input_level = 5, output_level = c(2, 3), klass_data = klass_data)[1:10, ]
# }

Run the code above in your browser using DataLab