[R] how to create a variable to rank within subgroups
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Tue Jun 7 12:18:06 CEST 2005
Denis Chabot <chabotd at globetrotter.net> writes:
> Thank you very much Andy, this is exactly what I was looking for. I
> did not know this function.
It's a horrible misnomer though (ave() is originally for replacing values
with averages, but obviously has other uses). Any suggestions for a
better name (or alias).
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list