Re: [R] subset arg in (modified) evalq

2007-05-18 Thread Gabor Grothendieck
Try this: with(subset(data, x 0), summary(y + z)) On 5/18/07, Vadim Ogranovich [EMAIL PROTECTED] wrote: Hi, When using evalq to evaluate expressions within a say data.frame context I often wish there was a 'subset' argument, much like in lm() or any ather advanced regression model. I

Re: [R] subset arg in (modified) evalq

2007-05-18 Thread Gabor Grothendieck
: Gabor Grothendieck [EMAIL PROTECTED] To: Vadim Ogranovich [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Friday, May 18, 2007 9:19:49 AM (GMT-0600) America/Chicago Subject: Re: [R] subset arg in (modified) evalq Try this: with(subset(data, x 0), summary(y + z)) On 5/18/07, Vadim

Re: [R] subset arg in (modified) evalq

2007-05-18 Thread Vadim Ogranovich
this to the columns I actually need. Thanks, Vadim - Original Message - From: Gabor Grothendieck [EMAIL PROTECTED] To: Vadim Ogranovich [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Friday, May 18, 2007 9:19:49 AM (GMT-0600) America/Chicago Subject: Re: [R] subset arg

Re: [R] subset arg in (modified) evalq

2007-05-18 Thread Vadim Ogranovich
, May 18, 2007 9:53:26 AM ( GMT-0600 ) America/Chicago Subject: Re: [R] subset arg in (modified) evalq I would check your performance assumption with an actual test before concluding such but at any rate subset does have a select argument. See ?subset On 5/18/07, Vadim Ogranovich vogranovich

Re: [R] subset arg in (modified) evalq

2007-05-18 Thread Gabor Grothendieck
] To: Vadim Ogranovich [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Friday, May 18, 2007 9:53:26 AM (GMT-0600) America/Chicago Subject: Re: [R] subset arg in (modified) evalq I would check your performance assumption with an actual test before concluding such but at any rate subset does have