Skip to content
Prev 79103 / 398502 Next

Sorting a data frame by one of the variables

FAQ 7.23 How can I sort the rows of a data frame?

To sort the rows within a data frame, with respect to the values in one or more of the columns, simply use order(). 

	

======= 2005-10-16 13:29:44 ÄúÔÚÀ´ÐÅÖÐÐ´µÀ£º=======
= = = = = = = = = = = = = = = = = = = =
			


 

2005-10-16

------
Deparment of Sociology
Fudan University

My new mail addres is ronggui.huang at gmail.com
Blog:http://sociology.yculblog.com