The function `data_clean()` serves the purpose of performing a preliminary check and fix some evident issues. However, the function cannot resolve all data quality-related problems.
Usage
data_clean(rawdata, levels.tol = 0.2)
Value
A preliminary cleaned dataset
Arguments
rawdata
A data frame.
levels.tol
Tolerant proportion of the number of levels to the number of observations in a multiclass variable. Default: 0.2