QGIS/python/plugins/processing/r/scripts/Quadrat_analysis.rsx
2013-08-20 09:22:03 +02:00

11 lines
209 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);