If h=0 we compute the cumulative version of the connecitivity function,
corresponding to Ripley's K-function under the condition that the points
in each pair must belong to the same component in an underlying network.
The underlying network can be given, or it will be computed as a geometric graph with
parameter 'R'. If given as 'preGraph', it must be a spatgraphs-object, with same
dimensions as the point pattern.
If h>0: Compute the probability of a pair being in the same component given their distance is ~ r.
Uses kernel smoothing with bandwidth h.
Sensible defaults are computed for h and R if not given.
Border correction is done via translation correction. The bias is unknown as the network censoring
is quite complex.
Theoretical values are unknown due to the graph conditioning.