我正在尝试使用Kest函数(以及spatstat包中的许多其他函数)。:矩形= 40.74603,40.74662 x -111.84693,-111.8456单位(0.000592×0.001324单位)窗口面积= 7.83834e-07平方单位事实上,spatstat包中有许多无法找到的函数(例如,r
阅读spatstat手册、vignettes和这本书(特别是第8章),我认为我应该在spatstat中使用Gfox和Jfox函数。加载横断面shapefile (包含观察点和面的面)和面shapefile{ # load these two together because spatstatknow exactly for what.library(maptools) # needed for method such as as.ppplibrary
然后我将这种格式转换为ppp格式,以使用一些spatstat函数。points to ppp # estimate the window from the points datappp_al_constr <- spatstat::ppp(ppp_al$x, ppp_al$y, window = wind_rr)
然后我想做一些点模式分析,所以