[R] low resolution word map

Ray Brownrigg Ray.Brownrigg at ecs.vuw.ac.nz
Tue Jul 31 02:56:44 CEST 2012


On 07/28/12 23:46, Thomas Steiner wrote:
> Hi,
> I'd like to have a low resolution word map in R.
> The "maps" package has this option, but if I use the argument, the map
> looses sense: Russia and Australia get empty etc
> 
> library("maps")
> m=map(col="skyblue",fill=TRUE,plot=TRUE,resolution=10)
> length(m$x)
> 
> If I drop the "fill=TRUE", the effect of "resolutaion=10000" is lost,

I don't know why this is so, I hadn't realised that effect of resolution
with fill=TRUE.

> ie no change. Is there any other package or could I use the resolution
> argument differently?

Well, you could say:
m=map(col=0,fill=TRUE, resolution=10)

Is that what you want?

Ray

> Thanks,
> Thomas
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list