kernelUD中的错误:xy应在二维中定义
我使用从R中提取的超市位置数据在R中运行内核密度估计。但是在运行此脚本时,我得到了一个错误kernelUD中的错误:xy应在二维中定义,r,statistics,spatial,R,Statistics,Spatial,我使用从R中提取的超市位置数据在R中运行内核密度估计。但是在运行此脚本时,我得到了一个错误 kde_output <- kernelUD(ls, h="href", grid = 1000) kde\u输出能否显示str(ls)Formal类“SpatialPointsDataFrame”[package“sp”]和5个插槽。@data:“data.frame”:128 obs。共15个变量:……$F_id:chr[1:128]“way/28162269”“way/
kde_output <- kernelUD(ls, h="href", grid = 1000)
kde\u输出能否显示str(ls)
Formal类“SpatialPointsDataFrame”[package“sp”]和5个插槽。@data:“data.frame”:128 obs。共15个变量:……$F_id:chr[1:128]“way/28162269”“way/29280846”“way/44978440”“way/48578254”。@coords:num[1:128,1:3]13.113.113.113……-attr(,“dimnames”)=2..$:chr[1:3]“coords.x1”“coords.x2”“coords.x3”@bbox:num[1:3,1:2]1347.7 0 13.1 47.8的列表…-attr(,“dimnames”)=2..$:chr[1:3]“coords.x1”“coords.x2”“coords.x3”chr[1:2]“min”和“max”。@proj4string:带有1个插槽的正式类“CRS”[package“sp”]