Re: [R] problem selecting rows meeting a criterion

2009-08-11 Thread Jim Bouldin
Yes, thanks Steve and also to everyone else for helping me clear this up. The issue was definitely the existence of other objects named X and Y that I inadvertently referred to in my command statement. Only when these objects are removed AND the data frame in question is attached, will the comman

Re: [R] problem selecting rows meeting a criterion

2009-08-11 Thread Bert Gunter
selecting rows meeting a criterion Hi, See comments in line: On Aug 11, 2009, at 2:45 PM, Jim Bouldin wrote: > > No problem John, thanks for your help, and also thanks to Dan and > Patrick. > Wasn't able to read or try anybody's suggestions yesterday. Here's > what >

Re: [R] problem selecting rows meeting a criterion

2009-08-11 Thread Steve Lianoglou
Hi, See comments in line: On Aug 11, 2009, at 2:45 PM, Jim Bouldin wrote: No problem John, thanks for your help, and also thanks to Dan and Patrick. Wasn't able to read or try anybody's suggestions yesterday. Here's what I've discovered in the meantime: What I did not include yesterday

Re: [R] problem selecting rows meeting a criterion

2009-08-11 Thread Jim Bouldin
No problem John, thanks for your help, and also thanks to Dan and Patrick. Wasn't able to read or try anybody's suggestions yesterday. Here's what I've discovered in the meantime: What I did not include yesterday is that my original data frame, called "data", was this: X Y V3 1 1 1 0.

Re: [R] problem selecting rows meeting a criterion

2009-08-11 Thread John Kane
/10/09, Jim Bouldin wrote: > From: Jim Bouldin > Subject: Re: [R] problem selecting rows meeting a criterion > To: "John Kane" , r-help@r-project.org > Received: Monday, August 10, 2009, 7:44 PM > > What's wrong is I'm trying to select only those rows in >

Re: [R] problem selecting rows meeting a criterion

2009-08-11 Thread jim holtman
. Any chance you're >> reading the row.numbers as values? >> >> BTW "data" is a reserved word in R and it is good practice not to use it >> as a variable name. >> >> My Results >> >>     X Y       V3 >>  3  3 1 2.236068 >>  4  4 1

Re: [R] problem selecting rows meeting a criterion

2009-08-10 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Jim Bouldin > Sent: Monday, August 10, 2009 4:44 PM > To: John Kane; r-help@r-project.org > Subject: Re: [R] problem selecting rows meeting a criterion > >

Re: [R] problem selecting rows meeting a criterion

2009-08-10 Thread Jim Bouldin
> 3 3 1 2.236068 > 4 4 1 6.324555 > 5 5 1 5.00 > 6 1 2 8.062258 > 10 5 2 5.656854 > 11 1 3 2.236068 > 12 2 3 9.486833 > 17 2 4 2.236068 > 18 3 4 8.062258 > 24 4 5 5.385165 > > > --- On Mon, 8/10/09, Jim Bouldin wrote: > > >

Re: [R] problem selecting rows meeting a criterion

2009-08-10 Thread John Kane
X Y V3 3 3 1 2.236068 4 4 1 6.324555 5 5 1 5.00 6 1 2 8.062258 10 5 2 5.656854 11 1 3 2.236068 12 2 3 9.486833 17 2 4 2.236068 18 3 4 8.062258 24 4 5 5.385165 --- On Mon, 8/10/09, Jim Bouldin wrote: > From: Jim Bouldin > Subject: [R] problem selecting row

[R] problem selecting rows meeting a criterion

2009-08-10 Thread Jim Bouldin
When I try to select only those rows from the following data frame, called "data", in which X > Y X Y V3 2 2 1 8.062258 3 3 1 2.236068 4 4 1 6.324555 5 5 1 5.00 6 1 2 8.062258 8 3 2 9.486833 9 4 2 2.236068 10 5 2 5.656854 11 1 3 2.236068 12 2 3 9.486833 14 4 3 8.062258 15 5 3