vgmLags {pedometrics} | R Documentation |
Computation of lag-distance classes for variogram estimation.
vgmLags(coords, n.lags = 7, type = "exp", cutoff = 0.5, base = 2, zero = 0.001, count = "pairs")
coords |
Data frame or matrix with the projected x- and y-coordinates. |
n.lags |
Integer value defining the number of lag-distance classes that
should be computed. Defaults to |
type |
Character value defining the type of lag-distance classes that
should be computed, with options |
cutoff |
Numeric value defining the fraction of the diagonal of the
rectangle that spans the data (bounding box) that should be used to set the
maximum distance up to which lag-distance classes should be computed.
Defaults to |
base |
Numeric value defining the base of the exponential expression
used to create exponentially spaced lag-distance classes. Used only when
|
zero |
Numeric value setting the minimum pair-wise separation distance
that should be used to compute the lag-distance classes. Defaults to
|
count |
Should the number of points ( |
Vector of numeric values with the lower and upper boundaries of the lag-distance classes. The number of points or point-pairs per lag-distance class is returned as an attribute.
Alessandro Samuel-Rosa <alessandrosamuelrosa@gmail.com>
Truong, P. N.; Heuvelink, G. B. M.; Gosling, J. P. Web-based tool for expert elicitation of the variogram. Computers and Geosciences. v. 51, p. 390-399, 2013.
data(meuse, package = "sp") lags_points <- vgmLags(coords = meuse[, 1:2], count = "points") lags_pairs <- vgmLags(coords = meuse[, 1:2], count = "pairs")