[R] Quick plot question

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Apr 27 00:12:22 CEST 2000


Bernie Gardner <bernie.gardner at umb.edu> writes:

> Is there an easy way to add an axis or just a simple line at the 0
> position of a graph with positive and negative values.  Specifically,
> I'ld like to add a zero line on a plot of residuals from a fit.  I'm
> very new at R so if this is a dumb question feel free to let me know but
> I'ld still appreciate any help.

abline(h=0)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list