cast_level: Convert classification ID to factor a specified level of...

Description Usage Arguments

View source: R/cast_level.R

Description

Convert classification ID to factor a specified level of classification

Usage

1
2
cast_level(x, meta = attr(x, "classification"), level = length(meta),
  label = TRUE)

Arguments

x

the vector to cast

meta

an oject of type classification.

level

the level of the classificatio to which the variable should be cast.

label

return the labels of the categories. Otherwise return the codes.


uRos2018/categorical documentation built on May 29, 2019, 9:15 a.m.