search for: myshp

Displaying 3 results from an estimated 3 matches for "myshp".

Did you mean: myshop
2003 Jun 30
4
french map
Hello, I would like to know if (as the usa map with Splus), it is possible with R to plot the french map and to add points (representing towns for instance) on the figure in the appropriate (x,y) system. Thank you. Nathalie Peyrard
2007 Jan 10
1
map data.frame() data after having linked them to a read.shape() object
...n the data.frame. The first linking is called "link" in ArcView and "relate" in ArcMap. I use the code shown below, though without success. Help with this would be greatly appreciated. Thanks! Tord require(maptools) # Read shape file (one row per county) a=read.shape("myshp.shp", dbf.data=TRUE, verbose=TRUE) str(a) ..- attr(*, "maxbb")= num [1:4] -100 49 0 0 ..- attr(*, "class")= chr "ShapeList" $ att.data:'data.frame': 490 obs. of 60 variables: ..$ STATE_FIPS: Factor w/ 12 levels "04","06&...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...(from sids to world) which I downloaded here: http://thematicmapping.org/downloads/world_borders.php. As a result I also need to change the "CNTY_ID" and "id" in the code, but I have no idea what [[elided Yahoo spam]] Mathijs library(maptools) library(ggplot2) gpclibPermit() myshp<- readShapeSpatial(system.file("shapes/sids.shp", package="maptools")) ## see licence, not GPL myshp.points<- fortify.SpatialPolygonsDataFrame(myshp, region="CNTY_ID") shpm<- merge(myshp.points, myshp, by.x="id", by.y="CNTY_ID") head(shp...