Displaying 1 result from an estimated 1 matches for "tp4650033p4650144".
2012 Nov 19
2
lattice: defining grouping variable only for the upper/lower panel with splom
Using the mtcars dataset, how to define the grouping variable to be valid
only for the upper or lower panel?
The following doesn't work:
# Code start
splom(~data.frame(mpg, disp, hp, drat, wt, qsec),
data=mtcars, pscales=0,
auto.key=list(columns=3),
upper.panel = function(...){
panel.grid(...)
panel.xyplot(groups=cyl,...)
}
)
# Code end
--
View