Re: [R] adjusting the map of France to 1830

2004-11-21 Thread Ray Brownrigg
Date: Fri, 19 Nov 2004 15:59:25 -0500 From: Michael Friendly [EMAIL PROTECTED] Here's what I tried. I can plot a selection of regions, but I can't seem to remove an arbitrary list of region numbers, unless I've done something wrong by selecting the regions I want to plot with

Re: [R] adjusting the map of France to 1830

2004-11-19 Thread Michael Friendly
Here's what I tried. I can plot a selection of regions, but I can't seem to remove an arbitrary list of region numbers, unless I've done something wrong by selecting the regions I want to plot with departements[-exclude]. I also get an error when I try to use map.text to label a map with only

Re: [R] adjusting the map of France to 1830

2004-11-19 Thread Stephane DRAY
Hello Michael, you have made a small mystake in your code: use gfrance -map.text('france', regions=depts, add=FALSE) But I think that, it would be quite difficult to do what you need in R. It is more a GIS problem. I think that your problem can be better treated if you can create your map outside

Re: [R] adjusting the map of France to 1830

2004-11-18 Thread Stephane DRAY
Hello. I do not know if you can merge polygons, but you can select easily: departements=map('france',namesonly=T) # returns a vector of names of regions map('france',regions=departements[1:20],namesonly=T) # use what you need with regions argument Hope this helps, At 16:29 18/11/2004, Michael

Re: [R] adjusting the map of France to 1830

2004-11-18 Thread Ray Brownrigg
At 16:29 18/11/2004, Michael Friendly wrote: I'm doing some analyses of historical data from France in 1830 on 'moral statistics' that I'd like to show on a map. I've done most of my analyses in SAS, but a few things would work better in R. To do this, I have to adjust the modern map,

Re: [R] adjusting the map of France to 1830

2004-11-18 Thread Stephane DRAY
At 19:07 18/11/2004, Ray Brownrigg wrote: At 16:29 18/11/2004, Michael Friendly wrote: I'm doing some analyses of historical data from France in 1830 on 'moral statistics' that I'd like to show on a map. I've done most of my analyses in SAS, but a few things would work better in R. To do