Re: [R] newbie subset question

2008-04-03 Thread jim holtman
Use "|" instead of "||". On Thu, Apr 3, 2008 at 6:27 PM, Farley, Robert <[EMAIL PROTECTED]> wrote: > I want to look at all the records making up a "row and column" of a > crosstab, but I'm not getting it right. I'm trying to use subset() but > my selection ((prod_act=="other") || (attr_act=="othe

[R] newbie subset question

2008-04-03 Thread Farley, Robert
I want to look at all the records making up a "row and column" of a crosstab, but I'm not getting it right. I'm trying to use subset() but my selection ((prod_act=="other") || (attr_act=="other")) gives my no records. See the second table below. Getting just the row does work, as seen in the thi