numeric_to_factor: numeric to factor helper function

Description Usage Arguments

View source: R/numeric_to_factor.r

Description

TODO: Make this faster

Usage

1
numeric_to_factor(num, levs, na.to.missing = TRUE)

Arguments

num

a numeric atomic vector. Will be restored to a factor variable.

levs

a character vector of levels.

na.to.missing

a logical. Whether to convert NAs to a "Missing" level.


robertzk/syberiaMungebits documentation built on May 25, 2017, 6:40 a.m.