Hi there,
How can I sort (order?) a data.frame using a dataframe field (evidence) as
classifyer? My data.frame looks like:
record model evidence
1 areatotha 6638.32581
2 areatotha_ca000 8111.01860
3 areatotha_ca000_Pais 1721.41828
4 areatotha_ca020
say your data.frame is called df
df[order(df$evidence),]
or
df[order(df$evidence, decreasing=T),] # if you want the other way
around.
b
On Jan 17, 2007, at 11:21 AM, Milton Cezar Ribeiro wrote:
Hi there,
How can I sort (order?) a data.frame using a dataframe field
(evidence) as