Skip to content
Prev 7205 / 29559 Next

plot shape file using lattice xyplot

What's wrong with using spplot? It is based on xyplot anyway.

If you want to use xyplot, you can use the panel function that sp defines:
sp.polygons(shp)

You can read in the shapefile with the RGDAL package:
shp <- readOGR(...)


2009/12/17 Zia Ahmed <zua3 at cornell.edu>:
-- 
Felix Andrews / ???
Postdoctoral Fellow
Integrated Catchment Assessment and Management (iCAM) Centre
Fenner School of Environment and Society [Bldg 48a]
The Australian National University
Canberra ACT 0200 Australia
M: +61 410 400 963
T: + 61 2 6125 4670
E: felix.andrews at anu.edu.au
CRICOS Provider No. 00120C