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?
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