This is a question relating to the Trellis function in R. I have a set of
socioeconomic data that I would like to display with the xyplot() function
for several states. I will have a total of 6 plots, with the y-variable as
"Age Group", and the x-variable as "Median Income".

Suitability of the plots aside (this cannot be changed), I need to plot the
points of one of the states in a different color than all the rest, such
that they can be more easily referenced in a presentation. Does anyone know
what I can use for this. I'm guessing that I will have to write my own panel
function, but I am not clear on the best way to do this.

--
View this message in context: 
http://r.789695.n4.nabble.com/Displaying-data-in-Trellis-tp4567920p4567920.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to