impute_knn: imputes missing value in a tibble with a mice inspired knn...

Description Usage Arguments Value

Description

imputes missing value in a tibble with a mice inspired knn algorithm

Usage

1
impute_knn(my_data, k, tol, max_iter, verbose = FALSE)

Arguments

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

Value

a data.frame / tibble with imputed entries where my_data has NA values


welch16/rwlib documentation built on Jan. 13, 2020, 1:27 p.m.