[R] Assigning rank based on total count

ws webb.sprague at gmail.com
Tue Jul 28 03:15:37 CEST 2009


> I am using ACS micro data (PUMS) with one of the columns as a 
> factor for the place of birth (POBPF).  I would like to create 
> a column (POBR) containing a rank 
> corresponding to the place of the observation 
> in the POBPF rankings.  

I wrote a blog entry on my solution:

http://oregondemographics.wordpress.com/2009/07/25/adding-a-ranking-column-to-a-
data-frame-of-observations/




More information about the R-help mailing list