backports (version 1.1.4)

.valid.factor: Backport of .valid.factor for R < 3.4.0

Description

See the original description in base::.valid.factor.

Usage

.valid.factor(object)

Arguments

Examples

Run this code
# NOT RUN {
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_.valid_factor = getFromNamespace(".valid.factor", "backports")
bp_.valid_factor(factor(letters[1:3]))
# }

Run the code above in your browser using DataLab