On 11/10/2010 11:27 PM, Aleksandr Andreev wrote:
OK, that loads the shape file.
But now when I do:
submap- subset(spb, as.character(spb$Name) == 'Vasilevsky Island')
the submap still has the whole city, not just the subset. Is there now
a different way of extracting a subset from a map?
I
A few years back, I wrote some code to plot maps with the maptools
package. Now I am trying to reproduce my results, only to find out
that maptools has been updated and my code no longer works.
I've been able to fix the first part of it by forcing
spb -
, Firefly
From:
Aleksandr Andreev aleksandr.andr...@gmail.com
To:
r-help@r-project.org
Date:
11/10/2010 01:10 PM
Subject:
[R] maptools package
Sent by:
r-help-boun...@r-project.org
A few years back, I wrote some code to plot maps with the maptools
package. Now I am trying to reproduce my results
Aleksandr -
What happens when you use
library(maptools)
spb = readShapePoly('/home/sasha/Documents/maps/spb.shp')
- Phil Spector
Statistical Computing Facility
Department
OK, that loads the shape file.
But now when I do:
submap - subset(spb, as.character(spb$Name) == 'Vasilevsky Island')
the submap still has the whole city, not just the subset. Is there now
a different way of extracting a subset from a map?
A
2010/11/10 Phil Spector spec...@stat.berkeley.edu:
5 matches
Mail list logo