impute_neighbors: Impute single missing values

Description Usage Arguments Value Examples

View source: R/impute_neighbors.R

Description

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

Usage

1
impute_neighbors(chromatogram)

Arguments

chromatogram

a numeric vector corresponding to the chromatogram trace

Value

the imputed chromatogram

Examples

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

PrInCE documentation built on Nov. 8, 2020, 6:34 p.m.