Hi All,
I'm trying to plot boxplot graph. I tried barchart with "groups=" option and
it worked fine. But when I try to generate same kind of graph using
bwplot(), "groups=" option doesn't seem to work. Though this works,
yield ~ variety | site * year
I'm thinking why "groups=" doesn't work in this case, can anyone help
please...
#Code:
library(lattice)
barchart(yield ~ variety | site, data = barley,
groups = year, layout = c(1,6),
auto.key = list(points = FALSE, rectangles = TRUE, space = "right"))
bwplot(yield ~ variety | site, data = barley,
groups = year, layout = c(6,1), scales=(x=list(rot=45)),
auto.key = list(points = FALSE, rectangles = TRUE, space = "right"))
Thanks,
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.