[R] qqline function doesn't plot

john seers (IFR) john.seers at bbsrc.ac.uk
Tue Aug 5 11:05:47 CEST 2008


 

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.



More information about the R-help mailing list