[R] abline limit constrain x-range how?
dwinsemius at comcast.net
Sat May 15 16:09:18 CEST 2010
On May 15, 2010, at 10:03 AM, Giovanni Azua wrote:
> 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.
abline draws a line across the whole plot area, border to border. Both
lines() and segments() will add to an existing plot (assuming it was
done with base graphics).
> 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,
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help