You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To calculate kernel density of sf point features, I either need to convert sf -> sp -> ppp and use spatstat::density or use the function MASS::kde2d. I've created a wrapper around the latter to provide myself an easy access to the kernel density estimation with sf objects. Any chance something like this might be implemented in sf at one point?
I'm not sure this kind of thing should go into sf; I am more in favor of using this kind of functionality from spatstat and write converters from sf to the classes used by spatstat. See also #1161.
To calculate kernel density of
sf
point features, I either need to convertsf
->sp
->ppp
and usespatstat::density
or use the functionMASS::kde2d
. I've created a wrapper around the latter to provide myself an easy access to the kernel density estimation withsf
objects. Any chance something like this might be implemented insf
at one point?Created on 2019-11-21 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: