variog4 {geoR} | R Documentation |
Computes Directional Variograms
Description
Computes directional variograms for 4 directions provided by the user.
Usage
variog4(geodata, coords = geodata$coords, data = geodata$data,
uvec = "default", breaks = "default", trend = "cte", lambda = 1,
option = c("bin", "cloud", "smooth"),
estimator.type = c("classical", "modulus"),
nugget.tolerance, max.dist, pairs.min = 2,
bin.cloud = FALSE, direction = c(0, pi/4, pi/2, 3*pi/4), tolerance = pi/8,
unit.angle = c("radians", "degrees"), messages, ...)
Arguments
geodata |
a list containing element |
coords |
an |
data |
a vector or matrix with data values.
If a matrix is provided, each column is regarded as one variable or realization.
Defaults to |
uvec |
a vector with values to define the variogram binning. For
further details see documentation for |
breaks |
a vector with values to define the variogram binning. For
further details see documentation for |
trend |
specifies the mean part of the model.
The options are:
|
lambda |
values of the Box-Cox transformation parameter.
Defaults to |
option |
defines the output type: the options |
estimator.type |
|
nugget.tolerance |
a numeric value. Points which are separated by a distance less than this value are considered co-located. Defaults to zero. |
max.dist |
a numerical value defining the maximum distance for the variogram. Pairs of locations separated for distance larger than this value are ignored for the variogram calculation. Defaults to the maximum distance among the pairs of data locations. |
pairs.min |
a integer number defining the minimum numbers of
pairs for the bins.
For |
bin.cloud |
logical. If |
direction |
a vector with values of 4 angles, indicating the
directions for which the variograms will be computed. Default
corresponds to |
tolerance |
numerical value for the tolerance angle, when
computing directional variograms. The value must be in the interval
|
unit.angle |
defines the unit for the specification of angles in
the two previous arguments. Options are |
messages |
logical. Indicates whether status messages should be printed on the screen (or output device) while the function is running. |
... |
arguments to be passed to the function |
Value
The output is an object of the class variog4
,
a list with five components.
The first four elements are estimated variograms for the directions
provided and the last is the omnidirectional variogram.
Each individual component is an object of the class variogram
,
an output of the function variog
.
Author(s)
Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.
References
Further information on the package geoR can be found at:
http://www.leg.ufpr.br/geoR/.
See Also
variog
for variogram calculations and
plot.variog4
for plotting results
Examples
var4 <- variog4(s100, max.dist=1)
plot(var4)