[R] Factors in lattice

Phil P.Atkinson at cdsc.nthames.nhs.uk
Thu May 16 12:33:51 CEST 2002


Using one numeric and 2 factor variables

densityplot( ~ Numeric | Factor1, ...)
densityplot( ~ Numeric | Factor2, ...)

 .. both work, but

densityplot( ~ Numeric | Factor1*Factor2, ...)

produces the error

Error in if (!(lo <- min(hi, IQR(x)/1.34))) (lo <- hi) || (lo <- abs(x[1]))
||  : 
        missing value where logical needed

None of the variables contain missing values. Any ideas what I'm doing
wrong??!!

Many thanks

Phil.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list