impute_mv: Impute MV in data.

Description Usage Arguments Value Author(s)

View source: R/impute_mv.R

Description

Impute MV in data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
impute_mv(
  object,
  method = c("knn", "rf", "mean", "median", "zero", "minimum", "bpca", "svdImpute",
    "ppca"),
  k = 10,
  rowmax = 0.5,
  colmax = 0.8,
  maxp = 1500,
  rng.seed = 362436069,
  maxiter = 10,
  ntree = 100,
  decreasing = FALSE,
  nPcs = 2,
  maxSteps = 100,
  threshold = 1e-04,
  ...
)

Arguments

object

A metflowClass object.

method

Imputation method. It contains "knn", "rf" (missForest), "mean", "median", "zero", "minium", "bpca" (BPCA), "svd" (SVD) and "ppca" (PPCA). Default is "knn". The detial of this method can be find in detail and reference paperes.

k

See ?impute.knn

rowmax

See ?impute.knn

colmax

See ?impute.knn

maxp

See ?impute.knn

rng.seed

See ?impute.knn

maxiter

See ?missForest

ntree

See ?missForest

decreasing

See ?missForest

nPcs

See ?bpca

maxSteps

See ?bpca

threshold

See ?bpca

...

Other arguments.

Value

A new metflowClass object.

Author(s)

Xiaotao Shen shenxt@sioc.ac.cn


jaspershen/metflow2 documentation built on Aug. 15, 2021, 4:38 p.m.