[R] Spatstat - Several density plots using the same scale

Arthur Weiss arthurw at lncc.br
Thu Oct 9 17:48:31 CEST 2008


Hi everyone,

I am using the package "spatstat" for ploting kernel maps of my data.
It is a marked point pattern, the result of mosquito surveillance in a
area in a week.
For each trap, the number of individuals captured is the mark of the point.

> plot(density(X, weights=X$marks))

makes a nice kernel, but the problem is that I've got several weeks and
for each week the density is re-scaled, which makes comparisons useless.
I've been trying to find some way to pass the scale limits to the function
but just couldn't find.

Hope someone can help
Thanks
Arthur



More information about the R-help mailing list