process_nas_var is for missing value analysis and treatment using knn imputation, central impulation and random imputation.
process_nas is a simpler wrapper for process_nas_var.
Logical. If TRUE, assigning the missing values to -1 or "Unknown", otherwise ,processing the missing values according to the results of missing analysis.
class_var
Logical, nas analysis of the nominal variables. Default is TRUE.
parallel
Logical, parallel computing. Default is FALSE.
ex_cols
A list of excluded variables. Regular expressions can also be used to match variable names. Default is NULL.
method
The methods of imputation by knn."median" is knn imputation by k neighbors median.
note
Logical, outputs info. Default is TRUE.
save_data
Logical. If TRUE, save missing analysis to dir_path
file_name
The file name for periodically saved missing analysis file. Default is NULL.
dir_path
The path for periodically saved missing analysis file. Default is "./variable".