Skip to content
Prev 174406 / 398506 Next

Subsetting data where the condition is that the value of some column contains some substring

Aha, I get it now. I was under the mistaken, intuitive impression that
the subset condition was evaluated element-by-element... I guess it
must actually work out to a vector of booleans, each element of which
gets compared to the corresponding element of the data to be
subsetted. That is, in hindsight, perfectly in character for R.

-Max
On Fri, Mar 20, 2009 at 8:39 PM, jim holtman <jholtman at gmail.com> wrote: