Skip to content

XYPlot Conditioning Variable in Specific, Non-Alphanumeric Order. -- Resending with corrected .txt file

2 messages · Deepayan Sarkar, Guy Jett

#
On Sat, Mar 19, 2011 at 2:53 AM, Guy Jett <GJett at itsi.com> wrote:
You need to specify the order of the levels explicitly (to override
the default). Here is how to do it for one, you can similarly do the
other:
[1] "T" "U" "V" "Y" "Z" "A" "B" "C" "D" "E" "F" "G" "H"
+                     levels = c("T", "U", "V", "Y", "Z", "A",
+                                "B", "C", "D", "E", "F", "G", "H"))
[1] "T" "U" "V" "Y" "Z" "A" "B" "C" "D" "E" "F" "G" "H"

Once you make these changes, your original call should work as desired.

-Deepayan
#
Thank you very much Deepayan.  This does exactly what I needed!
Cheers,
Guy Jett
gjett at itsi.com

-----Original Message-----
From: Deepayan Sarkar [mailto:deepayan.sarkar at gmail.com] 
Sent: Friday, April 01, 2011 6:51 AM
To: Guy Jett
Cc: r-help at R-project.org
Subject: Re: [R] XYPlot Conditioning Variable in Specific, Non-Alphanumeric Order. -- Resending with corrected .txt file

<snip>
You need to specify the order of the levels explicitly (to override
the default). Here is how to do it for one, you can similarly do the
other:
[1] "T" "U" "V" "Y" "Z" "A" "B" "C" "D" "E" "F" "G" "H"
+                     levels = c("T", "U", "V", "Y", "Z", "A",
+                                "B", "C", "D", "E", "F", "G", "H"))
[1] "T" "U" "V" "Y" "Z" "A" "B" "C" "D" "E" "F" "G" "H"

Once you make these changes, your original call should work as desired.

-Deepayan