[R] abline limit constrain x-range how?

Greg Snow Greg.Snow at imail.org
Wed May 19 05:25:52 CEST 2010

The clip function will limit the area that other functions (including abline) plot to, so that is one option.

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Giovanni Azua
> Sent: Saturday, May 15, 2010 8:03 AM
> To: r-help at r-project.org
> Subject: [R] abline limit constrain x-range how?
> Hello,
> I managed to "linearize" my LDA decision boundaries now I would like to
> call abline three times but be able to specify the exact x range. I was
> reading the doc but it doesn't seem to support this use-case? are there
> alternatives. The reason why I use abline is because I first call plot
> to plot all the three datasets and then call abline to "append" these
> decision boundary lines to the existing plot ...
> Can anyone please advice?
> Thanks in advance,
> Best regards,
> Giovanni
> ______________________________________________
> R-help at r-project.org 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.

More information about the R-help mailing list