[R] dot density maps

Johannes SCHNITZLER schnitzlerj at lyon.who.int
Tue Oct 12 09:43:05 CEST 2004


Dear Roger, 

Thank you very much for the reply.

And now I have to a apologize for my late response.
I was quite a while out of the office. 

This is exactly what I was looking for. I think it will be of great help
to have this implemented in a package.

Johannes 

-----Original Message-----
From: Roger Bivand [mailto:Roger.Bivand at nhh.no] 
Sent: Thursday, September 30, 2004 8:42 PM
To: Johannes SCHNITZLER
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] dot density maps

On Wed, 22 Sep 2004, Johannes SCHNITZLER wrote:

...
> I'm looking for the possibility to draw points (randomly positioned or
> positioned according to a grid) into the polygons instead of filling
the
> polygons with colors.
> 

I apologize for not replying earlier. I think that you can combine the 
polylist class from the maptools package with the csr function in the 
splancs package to position points randomly (the gridpts() finction can 
be used instead of csr() to give grid points):

.....
.....

Could you indicate whether this function is any use, and if you would
like 
it added to some suitable package?

Roger Bivand 
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list