[R] abline limit constrain x-range how?

Jim Lemon jim at bitwrit.com.au
Sun May 16 13:17:28 CEST 2010


On 05/16/2010 12:03 AM, Giovanni Azua wrote:
> 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 ...

Hi Giovanni,
Try the ablineclip function in the plotrix package.

Jim



More information about the R-help mailing list