Learn R Programming

SGCS (version 2.7)

clustfun: Clustering function

Description

Summarise the amount of local connectivity in a stationary and isotropic point pattern (2/3d).

Usage

clustfun(x, r, correction = "border", scaled = FALSE, ...)

Arguments

x

Point pattern

r

Vector of distances

correction

Border correction. "none" or "border" (reduced window) supported.

scaled

Scale with theoretical value? Should be done afterwards.

...

ignored.

Value

fv-object, see spatstat for more.

Details

This is a generalisation of the clustering coefficient by Watts and Strogatz 1998.

Reduced border correction available.

Examples

Run this code
# NOT RUN {
en <- envelope(rcell(nx=15), fun=clustfun)
plot(en)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab