Skip to content
Prev 307549 / 398506 Next

Summary using by() returns character arrays in a list

Hello,

If 'by' is giving you trouble, why not 'aggregate'?

agg.df <- aggregate(iris, list(iris$Species), FUN = summary)
str(agg.df)

Hope this helps,

Rui Barradas
Em 10-10-2012 15:02, Alex van der Spek escreveu: