[R] Error in Q-Q plot

Dieter Menne dieter.menne at menne-biomed.de
Mon Oct 6 11:46:52 CEST 2008


Megh Dal <megh700004 <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



More information about the R-help mailing list