[R] adding grid lines to an xyplot when there is only 1 panel

From: Ken Knoblauch <kknoblauch_at_free.fr>
Date: Thu 18 May 2006 - 07:24:18 EST


I've been struggling with this for a while and cannot get it to work. Is there a simple way to add grid lines ---- I'd like to only add the horizontal ones --- when using the groups argument in xyplot? I can get the grid lines to plot, or the points/lines, but not both. Here is a simple example of the sort of thing that I'm working with. Thanks, in advance.

 >all

       est STE AREA
-0.229 V1 V1
-1.129 V1 V2
-2.084 V1 V4
-2.918 V1 V3
-0.548 V2 V1
-0.217 V2 V2
-1.937 V2 V3
-1.205 V2 V4
-4.126 V4 V1
-1.481 V4 V2
-2.070 V4 V3
-0.042 V4 V4

xyplot(est ~ ISITE, data = all2, groups = AREA, type = "b",

                  auto.key = list(space = "right"))

Ken Knoblauch

-- 
Ken Knoblauch
Inserm U371
Cerveau et Vision
Dept. of Cognitive Neuroscience
18 avenue du Doyen LÚpine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.lyon.inserm.fr/371/

	[[alternative text/enriched version deleted]]


______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Received on Thu May 18 07:33:27 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 18 May 2006 - 08:10:14 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.