data_imputation: Impute aggregated data

View source: R/data_imputation.R

data_imputationR Documentation

Impute aggregated data

Description

This function imputes zero concentration values with a percentage of the minimal positive value. If all values are zero or NA, they are set to NA. The imputed values are added to plotting_data in an extra column imputed_Conc.

Usage

data_imputation(metalyzer_se, impute_perc_of_min, impute_NA)

Arguments

metalyzer_se

A MetAlyzer object

impute_perc_of_min

A numeric value between 0 and 1. Percentage of the minimal positive value, that is taken for imputation

impute_NA

Logical value whether to impute NA values


MetAlyzer documentation built on April 3, 2025, 6:32 p.m.