Re: [R] Newbie question about "grouping"

2009-01-28 Thread hadley wickham
On Wed, Jan 28, 2009 at 8:13 AM, Rixon, John C. wrote: > Hi folks: > > I am a SQL guy who just downloaded and installed R yesterday. I am > trying to evaluate some "complex" aggregations we are currently > performing with Syncsort (and have tried in Oracle) with R. I have > loaded data in a data

Re: [R] Newbie question about "grouping"

2009-01-28 Thread Thomas Lumley
Some useful commands are: by(), aggregate(), ave(), split(). eg by(market_value, account_id, sum) -thomas On Wed, 28 Jan 2009, Rixon, John C. wrote: Hi folks: I am a SQL guy who just downloaded and installed R yesterday. I am trying to evaluate some "complex" aggregations we are

Re: [R] Newbie question about "grouping"

2009-01-28 Thread David Winsemius
?by ?aggregate ?ave Further specifics might be forthcoming if self-contained example data and desired output were offered. The help pages will have worked examples, of course. -- David Winsemius On Jan 28, 2009, at 9:13 AM, Rixon, John C. wrote: Hi folks: I am a SQL guy who just downl

[R] Newbie question about "grouping"

2009-01-28 Thread Rixon, John C.
Hi folks: I am a SQL guy who just downloaded and installed R yesterday. I am trying to evaluate some "complex" aggregations we are currently performing with Syncsort (and have tried in Oracle) with R. I have loaded data in a dataframe and have performed some of the simple aggregations on a subs