step_knnimpute: Impute via k-nearest neighbors

View source: R/deprec-impute_knn.R

step_knnimputeR Documentation

Impute via k-nearest neighbors

Description

[Deprecated]

Please use step_impute_knn() instead.

Usage

step_knnimpute(
  recipe,
  ...,
  role = NA,
  trained = FALSE,
  neighbors = 5,
  impute_with = imp_vars(all_predictors()),
  options = list(nthread = 1, eps = 1e-08),
  ref_data = NULL,
  columns = NULL,
  skip = FALSE,
  id = rand_id("impute_knn")
)

recipes documentation built on July 4, 2024, 9:06 a.m.