Skip to contents

Identify factors with low frequency classes

Usage

check_freq(x, thres = 10)

Arguments

x

output of \link{prepare_ml}() or a tibble

thres

integer. Factors with at least one class of size smaller than thres will be identified. Defaults to 10.

Value

In case factors are present in the data set that meet the condition of interest, relevant names are printed in the console and a list of frequency tables is returned.

Details

If x is the output of \link{prepare_ml}(), the tibble x$data_prep$train is checked for factors with at least one low frequency class. Please refer to the package vignette for further details.

Authors

Maike Ahrens (ahrensmaike), Sebastian Voss (svoss09)