Description Usage Arguments Value Examples
View source: R/data_cleansing.R
null_blank_na
is the function to replace null ,NULL, blank or other missing vaules with NA.
1 | null_blank_na(dat, miss_values = NULL, note = FALSE)
|
dat |
A data frame with x and target. |
miss_values |
Other extreme value might be used to represent missing values, e.g: -9999, -9998. These miss_values will be encoded to -1 or "missing". |
note |
Logical.Outputs info.Default is TRUE. |
A data.frame
1 | datss = null_blank_na(dat = UCICreditCard[1:1000, ], miss_values =list(-1,-2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.