Re: [R] lattice to ggplot2 conversion help

2011-08-22 Thread Ista Zahn
Hi Ashz, On Mon, Aug 22, 2011 at 8:42 AM, ashz wrote: > Hi, > > I am interested in ggplot2 and I found this lattice code very interesting > (http://addictedtor.free.fr/graphiques/graphcode.php?graph=48). > > Code: > library(lattice) > lattice.options(default.theme = canonical.theme(color = FALSE)

[R] lattice to ggplot2 conversion help

2011-08-22 Thread ashz
Hi, I am interested in ggplot2 and I found this lattice code very interesting (http://addictedtor.free.fr/graphiques/graphcode.php?graph=48). Code: library(lattice) lattice.options(default.theme = canonical.theme(color = FALSE)) tmp <- expand.grid(geology = c("Sand","Clay","Silt","Rock"),