robComp: Impute missing values using compositional KNN imputation

View source: R/impute.R

robCompR Documentation

Impute missing values using compositional KNN imputation

Description

Impute missing values using compositional KNN imputation

Usage

robComp(obj, method = "comp-knn", k, sum_first = FALSE, verbose = FALSE)

Arguments

obj

Input

method

impKNNa=compositional KNN or impCoda=compositional KNN with iterative improvement in estimates

k

nearest neighbours

sum_first

Sum normalise the array data before imputation, and convert back to non-sum normalised afterwards

verbose

Log the start and end time for imputation

Value

Input data with missing values imputed

See Also

robCompositions::impKNNa and robCompositions::impCoda which this function wraps


TomSmithCGAT/OptProc documentation built on July 22, 2023, 12:08 a.m.