In order to use any spatstat functionality users have to provide a planar point pattern object ppp. So far both @sgunz and me compute these ppp objects on the fly for our own packages sosta and spatialFDA each time we want to compute something with spatstat.
We both have come up with a solution where we first convert the spe object into a data.frame and then to a ppp object in a two step process for speed (see this)
This is relatively fast but leads to many "unnecessary" computations because we never store these objects. @sgunz and me were thinking for a long time whether we could add the ppp objects to the SpatialExperiment objects, similary as SpatialFeatureExperiment adds sf objects for using spdep library.
Is something like this easily doable or should we keep computing these objects on the fly? I believe offering them would make using spatstat functions much easier for users.
In order to use any
spatstatfunctionality users have to provide a planar point pattern objectppp. So far both @sgunz and me compute thesepppobjects on the fly for our own packagessostaandspatialFDAeach time we want to compute something withspatstat.We both have come up with a solution where we first convert the
speobject into adata.frameand then to apppobject in a two step process for speed (see this)This is relatively fast but leads to many "unnecessary" computations because we never store these objects. @sgunz and me were thinking for a long time whether we could add the
pppobjects to theSpatialExperimentobjects, similary asSpatialFeatureExperimentaddssfobjects for usingspdeplibrary.Is something like this easily doable or should we keep computing these objects on the fly? I believe offering them would make using
spatstatfunctions much easier for users.