Skip to content
Prev 167918 / 398502 Next

subset exact values

On Thu, 22 Jan 2009, tsippel wrote:

            
Same reason that this doesn't return only those rows where V2 is 1:
V1 V2
1  1  0
2  0  1
which I suspect is a typo or a misunderstanding of what '=' means.

Have a look at the manuals.

While you are there look at FAQ 7.31 'Why doesn't R think these numbers 
are equal?' to be sure you don't get tripped up by that issue.

HTH,

Chuck
Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901