Displaying 1 result from an estimated 1 matches for "escambia".
Did you mean:
cambia
2012 May 25
0
plotting sorted factors
...you
want to check their order, use
str(sortdata)
and you'll see Santa-Rosa was attributed factor level 4 (in the output,
first variable, the 3rd and 4th).
Try the following.
sortdata <- read.table(text="
county year x1 x2 x3 x4 x5 x6 x7 rank
141 Escambia 2002 6.50 5.95 13.70 20.64 20.49 65.86 100.65 1
142 Escambia 1999 7.31 5.33 15.67 18.94 20.99 73.22 100.53 1
539 Santa-Rosa 2006 10.70 5.99 11.33 15.34 18.69 57.72 76.03 2
540 Santa-Rosa 2007 13.31 5.86 16.15 13.74 29.02 66.80 80.68 2
441 Okaloosa 2004 10.45 6.1...