find_empty is a function that identifies which factors have empty levels.

find_empty(data, models = NULL, covariates = NULL, ...)

Arguments

data

Source data

models

A model_specification object. If passed, the function will find empty levels for all factors in all specified models.

covariates

Factors to check for empty levels If a model specification object is passed, this parameter is ignored.

...

Optional arguments to find_empty (not currently used).

Value

An object that inherits from classes emptylevels that contains information about the factors with empty levels

Author

Alexander Breskin