[R] Can package plyr also calculate the mode?
ramine.mossadegh at finra.org
Wed Apr 3 23:25:52 CEST 2013
I am trying to replicate the SAS proc univariate in R. I got most of the
stats I needed for a by grouping in a data frame using:
all1 <- ddply(all,"ACT_NAME", summarise, mean=mean(COUNTS), sd=sd(COUNTS),
So I got the mean, median std dev, quantiles etc.
IS there any way I can add the mode to the mixt. Thanks ahead for any
View this message in context: http://r.789695.n4.nabble.com/Can-package-plyr-also-calculate-the-mode-tp4663235.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help