I import a dataframe composed by 2 variables and 14000 cases. Now I need the
labels of the cases sorted by the second variable V2, but if I sort the
dataframe according to the second variable:

mydataframe<- mydataframe[order(mydataframe$V2),]

I notice that the labels are always the same (that is, not ordered by V2).

How to change them?
I tried :

labels(mydataframe)<-1:14000

but it doesn't work.

Thanks

domenico

	[[alternative HTML version deleted]]

