I think you want to use '%in%' instead of '=='. Try debugging (or
understanding) what is happening by evaluating the subexpressions of
the compares you have in your original posting. Also take a look at
the 'recycling' of arguments and then you may understand what is
happening:
data2[(data2$x1
Thanks all.
%in% is what i need.
2009/11/13 jim holtman jholt...@gmail.com
I think you want to use '%in%' instead of '=='. Try debugging (or
understanding) what is happening by evaluating the subexpressions of
the compares you have in your original posting. Also take a look at
the
Hi Rusers,
I found sometimes that the same values cannot be judged to be the same in
R. Anybody knows the probelm? I think i ignored some minor detail. Thanks.
Here is the example.
On Nov 12, 2009, at 10:04 PM, rusers.sh wrote:
Hi Rusers,
I found sometimes that the same values cannot be judged to be the
same in
R. Anybody knows the probelm? I think i ignored some minor detail.
Thanks.
Here is the example.
4 matches
Mail list logo