Re: [R] different x-axes in Lattice

2010-01-28 Thread Deepayan Sarkar
On Sun, Jan 24, 2010 at 5:24 AM, Robert Ruser wrote: > I use lattice package and 'barchart' to build a chart. I have a > problem with setting different x-axes. Some x categories are missing > but they are display and I don't want. I use scales = list(y = > "free",x="free") but it works only for y-

Re: [R] different x-axes in Lattice

2010-01-24 Thread Peter Ehlers
If I understand you correctly, then what you propose makes very little sense to me. In your barley2 example, I certainly would want to see the empty space for 'Velvet'. If you want a separate plot for each site, with no common 'variety' axis, then just build separate plots. Of course you would los

[R] different x-axes in Lattice

2010-01-24 Thread Robert Ruser
I use lattice package and 'barchart' to build a chart. I have a problem with setting different x-axes. Some x categories are missing but they are display and I don't want. I use scales = list(y = "free",x="free") but it works only for y-axes. Simple example: package(lattice) barchart(yield ~ varie