Skip to content
Prev 7327 / 29559 Next

One-to-many table relationship to shapefile polygon in spplot / plot - possible?

On Wed, 6 Jan 2010, Noli Sicad wrote:

            
If you start with reshape in the stats package, not the reshape package, 
it may be easier. Using reshape is always hard, but the wide format is 
what you need. There is no provision for one-to-many for spatial features.
You delete spatial features from a Spatial* or Spatial*DataFrame object in 
the usual way with the "[" operator. Just treat them as data.frame objects 
as a first approximation.

Roger