Displaying 7 results from an estimated 7 matches for "plotpolys".
2003 Oct 22
4
adjacency matrix
Dear R experts,
I am new to the list and R software. I need to convert arcview file to Winbugs having R has middle package. Got from friends that it is possible following the steps:
1. Converting arcview shapefile to "cgm clear text file"
2. Downloading "convert.r" to into R
2.1 use source("convert.r")
2.2 convert("filename_cgm") without the
2014 Mar 12
3
Sobreponer dos mapas
...ento lo hice usando el paquete PBSmapping.
Aquí lo que hice:
library(PBSmapping)
estados <- importShapefile(?Entidades_2013.shp") #Aquí cargamos las entidades federativas (32 entidades)
zonas <- importShapefile(?zm.shp?) #Aquí cargamos las zonas metropolitanas del país (345 municipios)
plotPolys(estados, xlab=?Longitud?, ylab=?Latitud?, border=?gray?)
addLines(zonas, col=?red?)
Este es el resultado: https://www.dropbox.com/s/1286j3ppk6nyve6/zonas.tiff
Ahora lo que deseo hacer es agregar datos, por ejemplo el cociente de localización de la industria de la electronica para cada municipio d...
2002 Aug 26
0
Re: RArcInfo 0.3 (fwd)
Hi,
I have been thinking about your questions and comments. And I think I have
the answers. :D
> the way you draw the polygons has the consequence that if the larger one
> is drawn after the smaller one,
> the color of the smaller one is "overwritten"
> and therefore the map is really wrong in the relevant area.
> so this needs fixing.
Another approach is sorting the
2009 Aug 25
1
Help in plotting a legend
...myTrtFC<-
table(factor(addressPolys$PID,levels=levels(as.factor(myShapeFile$PID))))
log(myTrtFC)->lTrt
mapColors<-heat.colors(max(lTrt)+1,alpha=.6)[max(lTrt)-lTrt+1]
mapColors[ is.na(mapColors) ] <- "white"
pdf("RC-Employees.pdf",version="1.4")
plotPolys(myShapeFile,axes=FALSE,bg="white",main=" Employees
",xlab="",ylab="",col=mapColors)
#here is the current legend, but as you can see, the colors and the box
count doesn't match
#i would like to see only one box with the gradients of the colors that I
us...
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
2002 Jul 19
3
controling graphic window size and asprec ratio in windows
i am using the rarcinfo package
to draw maps.
for maps, th aspect ratio is quite important.
how can i control the aspect ratio and the size of a graphics window
in the mswindows version of R and more generally in R in general.
i would like to e able to both set the size before or while the window
is corrected,
and also for a window which already exists.
--
--
Erich Neuwirth, Computer Supported
2003 Dec 01
1
Re: using shapefile as owin
My sincerest apologies, as this is a very elementary problem, but I have
searched through archives and FAQs and on the web, and I am at the end of my
own resources.
I need to do analysis of a spatial point process occuring with four
counties, using spatstat. I've had no trouble importing the shapefiles, but
I can't seem to figure out what I need to do in order to use the boundary as
an