[R] ordering a data frame to same order as a chr vector

Ken Termiso jerk_alert at hotmail.com
Mon Jan 23 16:55:58 CET 2006

Hi all,

I've got a data frame that has an identical column to a chr vector. I would 
like to use the chr vector to order the rows of the data frame to be 
identical to the order in the chr vector (the contents of the chr vector are 
completely identical to one col of the data frame), but this is proving 
trickier than it sounds..

Any help would be much obliged,

More information about the R-help mailing list