[R] Stratified weighted statistics

Vikas Rawal vikasrawal at gmail.com
Thu Aug 30 00:55:50 CEST 2007

> Please look again at the help files for summarize and wtd.mean which 
> show how to do this.

This is from the summarize help file:

 FUN: a function of a single vector argument, used to create the
          statistical summaries for 'summarize'.  'FUN' may compute any
          number of statistics.  

It allows only one vector argument though it allows you to compute
multiple statistics using it. Please tell me if I am wrong. What would
you do it your function needs more than one vector arguments?


More information about the R-help mailing list