removeSimilarValues: Removes Duplicates

Description Usage Arguments Value

View source: R/Postprocess.R

Description

Removes duplicates from a list to post-process peaks from 'IDPmisc::peaks' function. Removes duplicates by averaging 2 values that are within the 'dWithin' value.

Usage

1
removeSimilarValues(x, dWithin)

Arguments

x

numeric vector

dWithin

numeric. How close will values be to trigger averaging the two values into one?

Value

numeric vector where the values close enough to be duplicates are removed by averaging them together.


fsaer/tirefittingr documentation built on May 15, 2020, 9:31 a.m.