dot-checkFactor: Check Factor

.checkFactorR Documentation

Check Factor

Description

This function was designed to check a factor object

Usage

.checkFactor(
  fac,
  facNa = NULL,
  minLev = 2,
  silent = FALSE,
  debug = FALSE,
  callFrom = NULL
)

Arguments

fac

(factor) main input

facNa

(character) level-names

minLev

(integer) minium number of levels

silent

(logical) suppress messages

debug

(logical) additional messages for debugging

callFrom

(character) allow easier tracking of messages produced

Value

This function returns a corrceted/adjusted factor

See Also

factor

Examples

.checkFactor(gl(3,2))

wrMisc documentation built on Nov. 17, 2023, 5:09 p.m.