R/deprec-impute_median.R

Defines functions step_medianimpute

Documented in step_medianimpute

#' Impute numeric data using the median
#'
#' @description
#' `r lifecycle::badge("deprecated")`
#' 
#' Please use [step_impute_median()] instead.
#'
#' @keywords internal
#' @export
step_medianimpute <- function(recipe,
                              ...,
                              role = NA,
                              trained = FALSE,
                              medians = NULL,
                              skip = FALSE,
                              id = rand_id("impute_median")) {
  lifecycle::deprecate_stop(
    when = "0.1.16",
    what = "recipes::step_medianimpute()",
    with = "recipes::step_impute_median()"
  )
}

Try the recipes package in your browser

Any scripts or data that you put into this service are public.

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