This is an FAQ that's not in the official FAQ (I believe).  Do
RSiteSearch("sort.data.frame") in R and you'll see.

Andy

From: Ken Termiso
> 
> 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,
> -Ken
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to