[R] MASS fitdistr with plyr or data.table?
jtor14 at gmail.com
Wed Apr 27 23:29:21 CEST 2011
> out <- with(weib.test.too, tapply(wind_speed, site, function(x) fitdistr(x,
> estimates <- t(sapply(out, "[[", 1))
> SDs <- t(sapply(out, "[[", 2))
That'll do nicely and is much more elegant than my current method. I was sure
there would be some fancy one liner from plyr though!
Thanks a bunch,
More information about the R-help