Description Usage Arguments Value
imputes missing value in a tibble with a mice inspired knn algorithm
1 | impute_knn(my_data, k, tol, max_iter, verbose = FALSE)
|
my_data |
a tibble / data.frame containing the dataset with missing values |
k |
the number of neighbors |
tol |
convergence tolerange |
max_iter |
max number of iterations |
verbose |
a logical value indicating if should prinnt the iterations |
a data.frame / tibble with imputed entries where my_data has NA values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.