Displaying 1 result from an estimated 1 matches for "plottwolines".
2010 Nov 16
0
LATTICE. On skip, index.cond with a formula like Y~X|A+B
...have factors with long
# and unshrinkable names, that do not fit easily in one line.
#
# For sake of clarity and for other reasons I would like to plot
# something like the one below, with two strips and with the shingle
# BUT removing all the panels except the off diagonal inferior elements.
(my.plotTwoLines <-
xyplot(Y ~ X|TREAT+REF,
data = df.data,
layout = c(4,4),
aspect=1,
strip= strip.custom(stile=3),
panel = function(x, y, ...){
panel.xyplot(x, y, lty=1, ...)
panel.abline(coef(lm(y ~ x), col=2))
})
)
# The formula |TREAT+REF re...