fdk_impute_knn.Rd
Impute missing values with a K-nearest neighbour
fdk_impute_knn(df, target, pred1, pred2 = NULL, pred3 = NULL, k)
a data frame containing columns corresponding to the target and predictor variable names
a string specifying the target variable (column) name
a string specifying the first predictor variable (column) name
a string specifying the second predictor variable (column) name
a string specifying the third predictor variable (column) name
an integer specifying the number of neighbours to consider
a gap filled data frame