impute_neighbors {PrInCE} | R Documentation

## Impute single missing values

### Description

Impute single missing values within a chromatogram profile as the average of their neighbors.

### Usage

    impute_neighbors(chromatogram)

### Arguments

`chromatogram` | a numeric vector corresponding to the chromatogram trace

### Value

the imputed chromatogram

### Examples

    data(scott)
    chrom <- scott[16, ]
    imputed <- impute_neighbors(chrom)

[Package PrInCE version 1.0.1 Index]