Skip to content
Prev 176318 / 398503 Next

SUM,COUNT,AVG

On Apr 6, 2009, at 6:31 PM, Jun Shen wrote:

            
This looks reasonably straight-forward:


lapply(c(mean,sd, length), function(func)
                             {aggregate(state.x77, list(Region =  
state.region), func)} )