search for: aggregeg

Displaying 1 result from an estimated 1 matches for "aggregeg".

Did you mean: aggree
2007 May 08
0
The match of "ave()" for "FUN=SD"
...he standard deviation for each subset with the same factor levels. For "FUN=mean" and "FUN=median" I am using "ave()". Can anybody tell me the match of "ave()" for using "FUN=SD"? At the beginning I used aggregate(), also for mean and median. But aggregegate make ""arithmetical errors"" in computing huge records. Thank's a lot. Felix R-CODE: ------- MEAN <- ave(INPUT[,3], INPUT[,1], INPUT[,2], FUN = mean) mMEAN <- matrix( c(INPUT[,1], INPUT[,2], MEAN), ncol=3, byrow=FALSE) SD <- na.omit( aggregate(IN...