[R] [solved] sapply and median, possible or not ?

Ptit_Bleu ptit_bleu at yahoo.fr
Fri Nov 7 13:28:32 CET 2008


Thanks a lot Keith : your function does the job (but I don't understand the
trick) !
Have a nice week-end (Thanks to you, I can have a good one :-)),
Ptit Bleu.


---------
median.data.frame <- function(x, ...)
sapply(x, median, ...)
------------

I haven't tried it, but it might work

hth

Keith J
-- 
View this message in context: http://www.nabble.com/sapply-and-median%2C-possible-or-not---tp20378222p20379667.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list