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? Thanks, Scotty _________________________________________________________________ Contest [[alternative HTML version deleted]]
Hi qqline does not do the plot. It adds a line to an existing plot. So you have to do something else first, like: qqnorm(x) qqline(x) JS --- -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Scotty Nelson Sent: 05 August 2008 09:58 To: r-help at r-project.org Subject: [R] qqline function doesn't plot 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? 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.
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.