[R] How to convert the output of tapply() so that it has the same order as the input?
Marius Hofert
marius.hofert at math.ethz.ch
Sat Sep 15 20:53:47 CEST 2012
Dear Bill,
Thanks a lot for your quick reply, that was exactly what I was looking for.
Cheers,
Marius
William Dunlap <wdunlap at tibco.com> writes:
> Does ave() do what you want?
> y. <- ave(x$value, x$x1, x$x2, FUN=function(x)x)
>
> Bill Dunlap
> Spotfire, TIBCO Software
> wdunlap tibco.com
>
>
More information about the R-help
mailing list