dot-check.factor.levels: Internal function that checks whether any column in a dataset...

.check.factor.levelsR Documentation

Internal function that checks whether any column in a dataset is a factor variable with more than a given number of levels

Description

Intended only to be called within stratify, not as a standalone function

Usage

.check.factor.levels(data, maxlevels = 4L)

Arguments

data

data.frame, a dataframe of factor variables of interest

maxlevels

integer, a maximum permissible number of levels

Value

invalid_factors, list of variable names with more than the permitted number of levels


NUstat/generalizeR documentation built on Feb. 7, 2024, 6:39 p.m.