I think you want to use the kernel density funcionality of spatstat [http://spatstat.org]; this will allow you to atach population at polygon centers as weigths. Here are some examples:

> library(spatstat)
...
> wosCR.ppp <- ppp(wos...@coords[,1], wos...@coords[,2], marks=wosmap$CR, window=wowin)
> densCR <- density.ppp(wosCR.ppp, 0.5, weights=wosmap$CR, edge=TRUE)
...

[http://spatial-analyst.net/wiki/index.php?title=Mapping_research_hot-spots]

T. Hengl
http://home.medewerker.uva.nl/t.hengl/


Ted Rosenbaum wrote:
Hi,
I am trying to make a smooth representation of US population data (ie in an
pixel image in spatstat) using county level population data.  Does someone
know of a good way to do this.
(I am a beginner, so I apologize if this is an obvious question).
Thanks,
Ted Rosenbaum

--------------------------
Graduate Student
Department of Economics
Yale University

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to