Skip to content
Prev 318249 / 398503 Next

Controlling Order of Panels in Lattice Trellis Plots

On Fri, 22-Feb-2013 at 11:02AM -0800, Rich Shepard wrote:
|>   With multiple panels in a lattice trellis plot the sequence is, for
|> example, 1, 10, 11, 12, 2, 3, 4. I want the sequence to be 1, 2, 3, 4, 10,
|> 11, 12.
|> 
|>   Reading ?strip.default and the appropriate section in the Lattice book I'm
|> not seeing how to specify the 'human' numeric order rather than the computer
|> numeric order.
|> 
|>   A pointer will be appreciated.

Without knowing what you're trying to do, I can't be sure, but I think
this pointer could give you an idea:
[1] "1"  "2"  "3"  "4"  "5"  "6"  "7"  "8"  "9"  "10" "11" "12" "13"
[1] "1"  "10" "11" "12" "13" "2"  "3"  "4"  "5"  "6"  "7"  "8"  "9"
HTH