Skip to content
Prev 85745 / 398503 Next

all.equal() and which()

How about

which(abs(time(data) - 24.211) < 1e-7)

or the tolerance of your choice.

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")
tom wright wrote: