Re: [R] Problem with densityplot from the lattice package

2008-06-11 Thread Prof Brian Ripley
Look at the y axis ... so try something like densityplot(test, from=0, to=1, ylim=c(-0.1, 1.5)) The jittered plot is plotted centred on y=0. On Wed, 11 Jun 2008, Malte Brockmann wrote: Dear list, I just experienced some strange behavior of the densityplots provided by the lattice package.

[R] Problem with densityplot from the lattice package

2008-06-11 Thread Malte Brockmann
Dear list, I just experienced some strange behavior of the densityplots provided by the lattice package. Depending on the values for "from" and "to" that are passed on to the function for kernel density estimates, the densityplot excludes the jittered stripplot that is routinely included in la