[R] Problem with densityplot from the lattice package
malte.brockmann at ebs.edu
Wed Jun 11 16:12:36 CEST 2008
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 lattice densityplot.
densityplot(test) #the standard density plot without problems
densityplot(test, from=0, to=1) #stripplot is excluded
densityplot(test, from=-1, to=2) #stripplot is again included
Any hints how I could get the stripplot back in the second example?
Tanks in advance
R version 2.7.0 (2008-04-22)
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
loaded via a namespace (and not attached):
sent via xelos.net | the communication and groupware solution
More information about the R-help