[R] do.call without arguments?

Antje niederlein-rstat at yahoo.de
Mon Nov 5 11:12:49 CET 2007


Hello,

I have a vector containing strings of simple operation methods.

methods <- c("mean","sd","median")    e.g.

Now, I'd like to apply these methods to my data and I thought, I could make a 
do.call. But these methods don't need any further arguments... Do I have to 
create an empty argument list?

I wanted to use a tapply( data, factor, ??? do.call ??? )

Can anybody help how to solve this problem?

Antje



More information about the R-help mailing list