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

.valid.factorR Documentation

Backport of .valid.factor for R < 3.4.0

Description

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

Usage

.valid.factor(object)

Examples

# 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]))

backports documentation built on June 24, 2024, 5:24 p.m.