install.packages("lattice") library("lattice") dotplot(variety~yield | site, data=barley, groups=year, key = simpleKey(levels(barley$year), space="right"))
attach(iris) levelplot(Sepal.Length ~ Petal.Length*Petal.Width)