Skip to content
Prev 384071 / 398502 Next

[External] Help with sub-setting

Yes. In particular:

data$variable==1 & data

makes no sense (data is a data frame). A typo perhaps? Or as Richard
indicated, consult references/tutorials to learn proper syntax for
(vectorized) predicates.

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 Mon, May 25, 2020 at 10:20 AM Richard M. Heiberger <rmh at temple.edu>
wrote: