# S3 method for default
impute(object, method = "half-min")
impute_kNN(object)
Arguments
object
An object, a vector, data.frame, data.table or Metabolite.
method
Imputation method, the default method is half the minimum value (`half-min`) of the metabolite. Currently support 'half-min', "median", "mean", "zero", "kNN".