[R] qqline function doesn't plot

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Aug 5 11:07:41 CEST 2008



Scotty Nelson wrote:
> I have a data vector x.  When I try 
> 
> qqline(x)
> 
> I get the following error:
> 
> Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : 
>   plot.new has not been called yet
> 
> And a blank plot appears.
> 
> Can anybody help?  What am I doing wrong?


qqline() is for adding a line into an existing plot. You might want to 
call qqplot() before as indicated in the examples in ?qqline.

Uwe Ligges


> Thanks,
> Scotty
> 
> 
> 
> _________________________________________________________________
> 
>  Contest
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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