Re: [R] newbie question: grouping rows

2006-03-10 Thread Matthew Scholz
Thanks for your response, Christos, but when I try this: new = old[old$q.D1 0.05,] I get the following warning (and what I'm trying to do fails): Warning message: not meaningful for factors in: Ops.factor(old$q.D1, 0.05) I've tried to bone up on the topic of factors and searching R help,

Re: [R] newbie question: grouping rows

2006-03-10 Thread Thomas Lumley
On Fri, 10 Mar 2006, Matthew Scholz wrote: Thanks for your response, Christos, but when I try this: new = old[old$q.D1 0.05,] I get the following warning (and what I'm trying to do fails): Warning message: not meaningful for factors in: Ops.factor(old$q.D1, 0.05) I've tried to bone up

Re: [R] newbie question: grouping rows

2006-03-10 Thread Christos Hatzis
] Sent: Friday, March 10, 2006 7:41 PM To: [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Subject: Re: [R] newbie question: grouping rows Thanks for your response, Christos, but when I try this: new = old[old$q.D1 0.05,] I get the following warning (and what I'm trying to do fails): Warning

Re: [R] newbie question: grouping rows

2006-03-09 Thread Augusto.Sanabria
Matt, Have a look at subset specially the examples at the end. I use it a lot. Hope it helps, Augusto Augusto Sanabria. MSc, PhD. Mathematical Modeller Risk Research Group Geospatial Earth Monitoring Division Geoscience Australia (www.ga.gov.au)

Re: [R] newbie question: grouping rows

2006-03-09 Thread Christos Hatzis
You can try: new.dataframe - my.dataframe[my.dataframe$p.value 0.05, ] This will select all columns. Alternatively, you can specify the columns that you want after the ,. -Christos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Scholz Sent:

Re: [R] newbie question: grouping rows

2006-03-09 Thread Vayssières , Marc
?subset Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Scholz Sent: Thursday, March 09, 2006 2:18 PM To: r-help@stat.math.ethz.ch Subject: [R] newbie question: grouping rows Hi all, I have a very simple question that I can't seem to find