Re: [R] how to create a variable to rank within subgroups

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 07 Jun 2005 - 20:18:06 EST

Denis Chabot <chabotd@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@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jun 07 20:31:09 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:26 EST