Skip to content
Prev 3411 / 29559 Next

newbie: spplot/ colour ramps

Oehler, Friderike (AGPP) wrote:
I see. The plot looks fine if you omit the cuts=c(...) argument. Why do 
you want to classify using continuous values, when the variable is a factor?
Try to spplot the points object, and pass the polygon in the sp.layout 
argument.

spplot wraps xyplot or levelplot, both in package lattice. These plots 
can only have a single variable to assign a color scale to, as far as I 
am aware.
--
Edzer