Skip to content
Back to formatted view

Raw Message

Message-ID: <60974.66.27.67.30.1209528246.squirrel@acs-webmail.ucsd.edu>
Date: 2008-04-30T04:04:06Z
From: hkreft at ucsd.edu
Subject: maptools: appending data to SpatialPolygonsDataFrame

Dear all,

I am just starting to use the library maptools. Specifically, I want to
use it as a quick way to map results from various multivariate analyses
(e.g. cluster analyses) directly in R.
I encountered problems appending newly generated data (cluster
memberships) to the SpatialPolygonsDataFrame object. Unfortunately, the
documentation is not really helpful.

But I am sure that this is an easy question for you.

Thanks in advance,

Holger


The code so far:

> > my.polys <- readShapePoly("Z://mypoly.shp",IDvar="ID",verbose=T)
> > plot(my.polys)