search for: boxpanel2

Displaying 1 result from an estimated 1 matches for "boxpanel2".

Did you mean: boxpanel
2007 May 21
2
Questions about bwplot
...factor=algorithm in each panel by coloring its box. However "best" means in the first two panels lowest median and in the last panel highest median. Can this be done? I managed it only when in all panels the lowest median box should be filled with color. trellis.device(color = FALSE) my.boxpanel2 <- function(x, y, subscripts, groups, ...) { orig <- groups[subscripts] == 0 medians<-tapply(y[orig],x[orig],median) medians2<-medians[!is.na(medians)] cols<-grey((1-as.numeric(medians2==min(medians2))/3))...