[R-sig-Geo] spplot() - "grouping variable"

Ingo Holz Ingo.Holz at uni-hohenheim.de
Fri Sep 26 13:09:13 CEST 2008


Hi,

 I use spplot to display the values of a SpatialPointsDataFrame.

 spplot(SPDF[,"var1"], col.regions=rainbow(100), pch =16)

 I have different types of locations (forests, pastures, etc) and would like to 
change the "point character" (pch) according to this "grouping variable". Is 
this or something like this possible?

 Thank you for your help!

 Ingo




More information about the R-sig-Geo mailing list