Re: [R] abline function : plot.new has not been called yet

2014-12-14 Thread Frederic Ntirenganya
Thanks Jeff for the Help. it works correctly. Regards, Frederic. Frederic Ntirenganya Maseno University, African Maths Initiative, Kenya. Mobile:(+254)718492836 Email: fr...@aims.ac.za https://sites.google.com/a/aims.ac.za/fredo/ On Sun, Dec 14, 2014 at 11:13 AM, Jeff Newmiller wrote: > > The a

Re: [R] abline function : plot.new has not been called yet

2014-12-14 Thread Jeff Newmiller
The abline function is part of base graphics (read the help ?abline... it is part of the "graphics" package). The xyplot function is part of the lattice package... a clone of the original "trellis" package from the S software. The two approaches to graphics don't play well together. Once you k

[R] abline function : plot.new has not been called yet

2014-12-13 Thread Frederic Ntirenganya
Hi All, I would like to have an idea of how I can solve this error. I am getting the following error in plotting: > abline(regn,col='red',lwd=1.5 , data=BUTemp) Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : plot.new has not been called yet This is the str of my data set