missing_imputer.Rd
Return the imputed version of data based on the methods selected
missing_imputer(data, method = "mean")
The raw data with missing values
The method used to impute the missing values
An imputed dataframe with the method specified
data <- data.frame('col1'=c(1,NA,3), 'col2'=c(1,2,3))
missing_imputer(data , method = "median")
#> col1 col2
#> 1 1 1
#> 2 2 2
#> 3 3 3