regdist {spatclus} | R Documentation |
Determination of the trajectory, weighting of the distance and determination of the breaks by a regression of the distance on the selection order.
regdist(data, pop, start, m, h, T, limx, limy)
data |
Data frame with 2 colums (x and y) giving coordinates of case data points. |
pop |
Matrix with 3 columns giving coordinates of underlying populations individuals in the first 2 colums. Last is a column of 1's. |
start |
Indicates the rank of the first trajectory point in term of distance from the area edges. 1 means that the first point of the trajectory is the nearest from the edge. |
m |
The maximal number of breaks. |
h |
The minimal cluster size. |
T |
The size of the weighted distance serie. |
limx |
2 element vector containing the study area bounds of the X-axis. |
limy |
2 element vector containing the study area bounds of the Y-axis. |
A list of objects :
res |
A result matrix giving, for each point ordered by its rank in the trajectory, its distance to the nearest neighbourg, the expentancy of this distance, and its weighted distance. |
bc |
A list of vectors. The $k^{th}$ element of the list gives the estimated breaks for the model with $k$ breaks. |
Christophe Dematte{"i} demattei@iurc.montp.inserm.fr