Cindex(x, thresh = NULL, connect.method = "C")
method
argument for the connected
function of package connected
for more details.Cindex = 1 - (NC - 1)/(sqrt(NP) + NC),
where 0 <= 1="" cindex="" <="1" is="" the="" connectivity="" index="" (values="" close="" to="" zero="" are="" less="" connected,="" and="" values="" more="" connected),="" np="" number="" of="" nonzero="" pixels,="" nc="" isolated="" clusters.="" p="">
The function 'connected' from package 'spatstat' is used to identify the number of isolated clusters.
=>connected
, as.im
, Sindex
, Aindex
data(geom000)
Cindex(geom000)
data(pert000)
Cindex(pert000)
Run the code above in your browser using DataLab