Skip to content

is there any way to find match with tolerance

3 messages · Suresh_FSFM, Gabor Grothendieck

#
Hello all,

suppose I have a time-stamp: "16-02-2009 00:20:00"
and other array that stores lot of time values.

My tolerance limit = +5 minutes
I would like to find values from this array matching with the value:
"16-02-2009 00:20:00" + tolerance
Before I write some function, I would like to know: whether any readymade
function is available?
I checked compare() or which() . but not exactly what I would like to have.

Any suggestion is appreciated.

Thank you.

Best Regards,
Suresh
#
?all.equal has a tolerance argument.
On Mon, Feb 16, 2009 at 8:41 AM, Suresh_FSFM <suresh.ghalsasi at gmail.com> wrote:
#
Thank you for the positve response.
Gabor Grothendieck wrote: