Discussion:
[R] qqline function doesn't plot
Scotty Nelson
2008-08-05 08:58:28 UTC
Permalink
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080805/61c826b7/attachment.pl>
john seers (IFR)
2008-08-05 09:05:47 UTC
Permalink
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
2008-08-06 00:50:17 UTC
Permalink
Thanks!!!!!
--
View this message in context: http://www.nabble.com/qqline-function-doesn%27t-plot-tp18827175p18842548.html
Sent from the R help mailing list archive at Nabble.com.
Uwe Ligges
2008-08-05 09:07:41 UTC
Permalink
Post by john seers (IFR)
I have a data vector x. When I try
qqline(x)
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
Post by john seers (IFR)
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.
Loading...