s-news
[Top] [All Lists]

sorting dataframe on rownames

To: "Splus Mailing List" <s-news@lists.biostat.wustl.edu>
Subject: sorting dataframe on rownames
From: "Jonathan Dakin" <jdakin@overwey.demon.co.uk>
Date: Tue, 28 Mar 2006 19:40:23 +0100
Importance: Normal

Could anyone tell me how to sort a dataframe alphabetically according to the rownames ?  Sorry for the triviality. 

I could create a column equal to the rownames vector, sort on that and then remove the column, but it seems there should be a quicker way about.

Many thanks for any help.  (Using version 6.1).

Jonathan Dakin
Portsmouth Hospital



<Prev in Thread] Current Thread [Next in Thread>