[R] Error in Q-Q plot

2008-10-06 Thread Megh Dal
Hi,

I am trying to draw a Q-Q plot, however got following error.

 library(sn)
 library(car)
 dat1 = rst(1000, 0, 1, 0, 2)
 qq.plot(dat1, st, 0, 1, 0, 9)
Error in plot.window(...) : 
  invalid value specified for graphical parameter las
Can anyone please tell me why this error is coming?

__
R-help@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.


Re: [R] Error in Q-Q plot

2008-10-06 Thread Dieter Menne
Megh Dal megh74 at yahoo.com writes:

 
  library(sn)
  library(car)
  dat1 = rst(1000, 0, 1, 0, 2)
  qq.plot(dat1, st, 0, 1, 0, 9)
 Error in plot.window(...) : 
   invalid value specified for graphical parameter las

You have set parameter las (the 6th) to 9, and only values 0 and 1 are allowed
as documented. With so many parameters, it's always a good idea to explicitly
name the parameters, if only for self-documentation.

Dieter

__
R-help@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.