r-lib / generics
1
#' Interpolate missing values
2
#'
3
#' Interpolates missing values provided in the training dataset using the
4
#' fitted model.
5
#'
6
#' @param object A fitted model object
7
#' @param ... Other arguments passed to methods
8
#'
9
#' @return A dataset ([tibble::tibble()] or similar) of the same structure as
10
#' the input dataset with missing values from the response variable replaced
11
#' with interpolated values.
12
#'
13
#' @section Methods:
14
#' \Sexpr[stage=render,results=rd]{generics:::methods_rd("interpolate")}
15
#'
16
#' @export
17
interpolate <- function(object, ...) {
18 0
  UseMethod("interpolate")
19
}

Read our documentation on viewing source code .

Loading