[Experimental] Converts a vector object to a non-categorical object, typically a column in a data frame. The categories come from non-missing values present in the object and are suppressed from an associated data dictionary (when present).

drop_category(x)

Arguments

x

object to be coerced.

Value

A R object.

Examples

{

head(iris[['Species']])
head(drop_category(iris[['Species']]))

}
#> [1] "setosa" "setosa" "setosa" "setosa" "setosa" "setosa"