Hello R-experts,

I have a simple question: how do I aggregate data using the median
function with na.rm = TRUE, i.e.

aggregate(x, list(x$y, x$z), FUN = '????')

I have tried 'median(x, na.rm = TRUE)' but that doesn't help.

Any suggestions are very much appreciated,


Thorsten

______________________________________________
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.

Reply via email to