Re: [R] aggregation with two statistical functions - mean and variance

2007-12-25 Thread Gabor Grothendieck
On Dec 25, 2007 4:41 AM, Pfeiffer & Koberstein Immobilien GmbH - Ralf Pfeiffer <[EMAIL PROTECTED]> wrote: > thank you, I downloaded and installed the package. With library(help="doBy") > I got the information about this package. > > But when I use the syntax > > summaryBy(daten[,c(3:4)], list(A,B)

Re: [R] aggregation with two statistical functions - mean and variance

2007-12-25 Thread Pfeiffer & Koberstein Immobilien GmbH - Ralf Pfeiffer
ryBy) I tried before require(doBy), but this doesn't work neither. What can I do? - Original Message - From: "Gabor Grothendieck" <[EMAIL PROTECTED]> To: "Agrarimmobilien" <[EMAIL PROTECTED]> Cc: Sent: Monday, December 24, 2007 10:48 PM Subject: Re:

Re: [R] aggregation with two statistical functions - mean and variance

2007-12-24 Thread Gabor Grothendieck
See summaryBy in the doBy package. On Dec 24, 2007 4:27 PM, Agrarimmobilien <[EMAIL PROTECTED]> wrote: > Hello, > > using the syntax > > aggregate(daten[,c(3,4)], list(A,B), mean) > > I'm getting the following data.frame: > > >A BCD > 1 351 6.16000

[R] aggregation with two statistical functions - mean and variance

2007-12-24 Thread Agrarimmobilien
Hello, using the syntax aggregate(daten[,c(3,4)], list(A,B), mean) I'm getting the following data.frame: A BCD 1 351 6.16000 5 2 47131.24333 20 3 54126.81773 2 4 3 212.990