Hi,

suppose a marked point pattern (vmrad) where the marks are disc radii.

suppose further that the discs don't overlap, and that there are 100 discs.

suppose that I want to change the pcf function in such a way that it doesn't 'use' the distribution of point-to-point distances,

but instead 'uses' the distribution of edge-to-edge distances.


to calculate a square matrix of edge-to-edge distances (E2E):

sumradii = matrix(rep(0,10000),nrow=100)

for (i in 1:100){
for (j in 1:100){

 sumradii[i,j] = vmrad$marks[i] + vmrad$marks[j]

}
}

E2E = pairdist(vmrad) - sumradii

since there are no overlapping disks, the matrix E2E should not contain any negative values except for the diagonal which only has negative values.


is it possible in spatstat to use E2E to calculate the (modified)-pcf in an easy way by use of some specific spatstat functions?

or could this "modified pcf" only be programmed from scratch?

Thank you.

	[[alternative HTML version deleted]]

