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

Denis Chabot chabotd at globetrotter.net
Tue Jun 7 13:57:57 CEST 2005


I sure agree the name is not very helpful in guessing what it can do.

May I suggest "propagate"?

Denis Chabot
Le 07 juin 2005 à 06:18, Peter Dalgaard a écrit :

> 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