powered by
null_blank_na is the function to replace null ,NULL, blank or other missing vaules with NA.
null_blank_na
null_blank_na(dat, miss_values = NULL, note = FALSE)
A data frame with x and target.
Other extreme value might be used to represent missing values, e.g: -9999, -9998. These miss_values will be encoded to -1 or "missing".
Logical.Outputs info.Default is TRUE.
A data.frame
# NOT RUN { datss = null_blank_na(dat = UCICreditCard[1:1000, ], miss_values =list(-1,-2)) # }
Run the code above in your browser using DataLab