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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.