I tried following commands: amp~time|subject/trial #this was the grouping structure of the data plot(dip,inner=~condition,layout=c(2,2)) after the plot command I obtained this error message: Error in if(!any(cond.max.level - cond.current.level <0)&&(row-1)* : missing value where TRUE/FALSE needed This error only occured in compination with "layout". It was no problem to plot all subjects on one page. Further, this error did not occur using older version of R (1.8 or 1.7). Did somebody encounter similar problems ? Stephan Moratti -- Dipl. Psych. Stephan Moratti Dept. of Psychology University of Konstanz P.O. Box D25 D-78457 Konstanz, Germany Tel.: +49 (0) 7531 882385
On Monday 10 May 2004 05:46, Stephan Moratti wrote:> I tried following commands: > > amp~time|subject/trial #this was the grouping structure of the data > > > plot(dip,inner=~condition,layout=c(2,2)) > > after the plot command I obtained this error message: > > Error in if(!any(cond.max.level - cond.current.level <0)&&(row-1)* : > missing value where TRUE/FALSE neededThis looks like a bug, but there's not enough information in your message to reproduce it. Could you send me (off-list) the data set, preferably saved with save(dip, file = "dip.rda") ? Deepayan
On Monday 10 May 2004 05:46, Stephan Moratti wrote:> I tried following commands: > > amp~time|subject/trial #this was the grouping structure of the data > > > plot(dip,inner=~condition,layout=c(2,2)) > > after the plot command I obtained this error message: > > Error in if(!any(cond.max.level - cond.current.level <0)&&(row-1)* : > missing value where TRUE/FALSE needed > > This error only occured in compination with "layout". It was no > problem to plot all subjects on one page. Further, this error did not > occur using older version of R (1.8 or 1.7). Did somebody encounter > similar problems ?Thanks for the report. This turns out to be a bug in the calculation of 'skip', caused by my using the wrong variable name (this was introduced fairly recently when the behaviour of skip changed for multipage displays). Anyway, I'll post an updated version, meanwhile, a workaround is to specify skip explicitly, e.g., plot(dip,inner=~condition,layout=c(2,2), skip = rep(FALSE, 76)) Deepayan