ilod {rexposome} | R Documentation

## Function to impute under-LOD values from an ExposomeSet

### Description

This function is a wrapper of the functions `impute.MinProb` from the package `imputeLCMD`.

### Usage

    ilod(
      object,
      seed = 1234,
      lod.col = "LOD",
      pNA = 0.2,
      tLog = FALSE,
      method = "QRILC",
      warnings = TRUE,
      ...
    )

### Arguments

`object` | `ExposomeSet` which exposures will be imputed.
`seed` | (default `1234`) Seed to make the imputation reproducible.
`lod.col` | (default `"LOD"`) Name of the column in `fData` with the threshold of the LOD.
`pNA` | (default `0.2`) Maximum percentage allowed of values under LOD
`tLog` | (default `FALSE`) If set to `TRUE` it transforms all the exposures to lod before the imputation.
`method` | (default `"QRILC"`) Method to be used to impute the under-LOD values. Two allowed: QRILC method (value `"QRILC"`) and stochastic minimal value approach (value `"MinProb"`).
`warnings` | (default `TRUE`) If set to `FALSE` warnings will not be displayed.
`...` | Arguments passed to `impute.QRILC` or impute.MinProb from `imputeLCMD`.

### Value

A new `ExposomeSet` with the imputed exposures.

### See Also

plotMissings to plot the missing data of an ExposomeSet, tableMissings to get a table with the missing data of an ExposomeSet

### Examples

    ## Not run:
    #Being x an ExposomeSet
    x <- ilod(x)

    ## End(Not run)

[Package rexposome version 1.12.4 Index]