Re: [R] abline() with xyplot()

From: Dimitris Rizopoulos <>
Date: Tue 12 Apr 2005 - 22:50:13 EST

probably you want to look at this: help(panel.abline, package="lattice")

I hope it helps.


Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium

Tel: +32/16/336899
Fax: +32/16/337015

Hello all,
I'm a new user on R, and I used the abline function to draw a line on my graph but it doesn't work with xyplot(). With the plot function, abline() is ok but with plot it doesn't make what I want. Maybe it's a little thing to change in plot() but I don't find what! With xyplot I write this :

type="b",xlab="lagdist",ylab="Moran'I",lty=1,lwd=2,cex=1.5,pch=pch) Abline(h=0,lty=2)
There's no error message but no line too. If someone see my error or know how to do, thanks in advance.

Chloé Archinard
1919 Route de Mende
34293 Montpellier, Cedex 5, France

passerelle antivirus du campus CNRS de Montpellier

[[alternative HTML version deleted]]

______________________________________________ mailing list PLEASE do read the posting guide!
______________________________________________ mailing list PLEASE do read the posting guide!
Received on Tue Apr 12 22:54:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:07 EST