Skip to content
Prev 360158 / 398503 Next

faster way to use filter this

You neglected the commas in your index expression!

See ?match

as in:
[1]  50 100  NA

(and "data" is a bad name to use as there is already a data() function in R).

Please DO go through an R tutorial or two to learn about some of these
basic, useful  R capabilities. There are many good ones on the Web.

Cheers,
Bert
Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Apr 15, 2016 at 5:58 PM, Paul Tremblay <paulhtremblay at gmail.com> wrote: