imputeLOD {rexposome} | R Documentation

## Function to impute values under limit of detection

### Description

Homologous function to the ilod method of ExposomeSet for a given `data.frame` of exposures and a `vector` of threshold. The use of this function is related to HELIX Project.

### Usage

    imputeLOD(
      x,
      lod,
      description = NULL,
      pNA = 0.2,
      pLOD = 0,
      log = TRUE,
      seed = NULL
    )

### Arguments

`x` | `data.frame` containing the exposures as columns and the samples as rows.
`lod` | `vectro` containing the
`description` | `1` means values under LOD while `2` means quantifiable value, `3`
`pNA` | (default: `0.2`) maximum percentage of allowed missing data
`pLOD` | (default: `0`) minimum percentave of values under LOD
`log` | (default: `NA`) log transformation to normalize data
`seed` | (default: `NULL`)

### Value

A new `data.frame` with the imputed exposures.

### Examples

    ## Not run:
    inma.imp <- imputeLOD(x = raw, lod = lod, description = desc,
         pNA = pNA, pLOD = pLOD, log = log, seed = seed)

    ## End(Not run)

[Package rexposome version 1.14.1 Index]