Description Usage Arguments Value Author(s) Examples
Replaces numeric and factor columns NAs with user defined values
1 | preprocess.NAs(df, numeric.v, factor.v = "None")
|
df |
A data frame. numeric and factor columns will be considered |
numeric.v |
Numeric value, NAs will be replaced with. Default is 0. |
factor.v |
Factor value, NAs will be replaced with. Default is None. |
This function returns the initial data.frame
with NAs replaced
Eva Szin Takacs, szin.takacs.eva@gmail.com
1 | preprocess.NAs(weather, 0, "None")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.