mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
11 lines
219 B
R
11 lines
219 B
R
##[Example scripts]=group
|
|
##points=vector
|
|
##showplots
|
|
library("maptools")
|
|
library("spatstat")
|
|
ppp=as(as(points, "SpatialPoints"),"ppp")
|
|
qc=quadratcount(ppp)
|
|
plot(points)
|
|
plot(qc, add=TRUE)
|
|
>quadrat.test(ppp);
|