validate_factors.Rd
Checks that all specified factor columns exist in the data frame and are not empty.
validate_factors(data, factors)
A data frame
Character vector of factor column names
TRUE invisibly if valid, otherwise throws an error