Re: [R] Problem with Example with Lattice

2017-05-28 Thread Gerrit Draisma
Hallo Lorenzo, In addition to Berts advice try > trellis.par.get("superpose.symbol") which shows the default for superposed graphics and set them with the par.settings parameter > dotplot(VADeaths, type = "o", + auto.key = list(lines = TRUE, space = "right"), + main = "Death Rates in Virginia - 19

Re: [R] Problem with Example with Lattice

2017-05-27 Thread Bert Gunter
I was surprised this worked at all, as I usually use the formula interface. Anyway, you need to explicitly specify the point types via the pch argument. The default uses trellis.par.get("dot.symbol"), which is just a single value. -- Bert Bert Gunter "The trouble with having an open mind is

[R] Problem with Example with Lattice

2017-05-27 Thread Lorenzo Isella
Dear All, I am making my baby steps with the lattice graphic system. I am going through the great book by Sarkar which provides plenty of examples. However, I notice that some of them appear to give a different result on my system. For instance, consider the following library(lattice) library(la