integre {spatclus} | R Documentation |
Computes the expectation of the distance from a point to its nearest neighbourg.
integre(pop, x, y, rmax, n, k, pas)
pop |
The grid with "1" if the point has not been yet included in the trajectory, "0" else. |
x |
X-coordinate of the point from wich we want to compute the expectancy of the distance. |
y |
Y-coordinate of the point from wich we want to compute the expectancy of the distance. |
rmax |
The maximal distance from the (x,y) point to the study area border. |
n |
The total number of points (cases). |
k |
The number of points already selected in the trajectory. |
pas |
Makes possible to choose the precision of the integral calculation. |
Value of the computed expectation.
Christophe Dematte{"i} demattei@iurc.montp.inserm.fr