aggregate(x, list(x$y, x$a), FUN=median, na.rm=TRUE)
On Fri, Dec 12, 2008 at 2:13 PM, wrote:
> 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.
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
__
2 matches
Mail list logo