Description Usage Arguments Details Value Note Author(s)
Computes the centre of a set of distance classes from a geographical distance matrix or a data frame containing the coordinates. The minimum, maximum and interval distances can be specified by user.
1 |
dist |
A |
dmin |
The minimum distance to be considered. Default is 0. |
distance.lag |
The distance increment between two successive centre of distance classes. A default value is computed on the basis of the function |
dist.lag.max |
The maximum distance to be considered. |
distlag
creates a set of bins describing the distance lag classes on the basis of the point spatial location and a user-defined lag interval. Spatial information is provided as a distance matrix (class "dist"
) or a set of coordinates (data.frame
). Data frame must contain 1 or 2 columns (i.e. data points in 1 or 2 dimensions). Three dimensional data designs can be accounted for using a dist
object. NAs are not allowed and should be removed prior to using the function.
A vector of values corresponding to the centre of successive distance classes
This function was developped for the forthcoming R package ggene.
Jean-Pierre Rossi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.