That did it. Thanks!!
David
===
David Kaplan, Ph.D.
Professor
Department of Educational Psychology
University of Wisconsin - Madison
Educational Sciences, Room, 1082B
1025 W. Johnson Street
Madison, WI 53706
email: dkap...@edu
It looks like your row numbers are "characters" because that is the
sort sequence you are getting. Try
df <- df[order(as.numeric(rownames(df))), ]
On Wed, May 18, 2011 at 2:42 PM, David Kaplan
wrote:
> Greetings,
>
> I'm trying to simply reorder a data frame on the row numbers. So, for
> exampl
2 matches
Mail list logo