Learn R Programming

MetAlyzer (version 1.1.0)

zero_imputation: Imputation of zero values

Description

This function performs zero imputation with the minimal positive value times impute_perc_of_min.

Usage

zero_imputation(vec, impute_perc_of_min, impute_NA)

Arguments

vec

A numeric vector containing the concentration values

impute_perc_of_min

A numeric value below 1

impute_NA

Logical value whether to impute NA values