Probability distribution of the distance to the ith nearest neighbour

Share:

Description

This function gives the distribution of the distances to the ith nearest neighbour of a reference point.

Usage

1
P_di(i, a, N)

Arguments

i

which neares neighbhour to calculate the probability for

a

the distance at which the ith nearest neighbout was observed, can be a vector

N

how many points in a sample

Value

returns the probability of observing the ith nearest neighbour at distance a in a sample of size N

Author(s)

Sebastian D├╝mcke duemcke@mpipz.mpg.de

See Also

Pc_givena,Pc_givena4nn

Examples

1
knnIndep:::P_di(4,3,10)