impute_neighbors {PrInCE} | R Documentation |
Impute single missing values within a chromatogram profile as the average of their neighbors.
impute_neighbors(chromatogram)
chromatogram |
a numeric vector corresponding to the chromatogram trace |
the imputed chromatogram
data(scott) chrom <- scott[16, ] imputed <- impute_neighbors(chrom)