search for: sortdata

Displaying 1 result from an estimated 1 matches for "sortdata".

Did you mean: portdata
2012 May 25
0
plotting sorted factors
Hello, The problem is that the factors are not orderd by the row number. If 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...