as.AnisotropyScaling {gmGeostats} | R Documentation |
Convert to anisotropy scaling matrix
Description
Convert an anisotropy specification to a scaling matrix
Usage
as.AnisotropyScaling(x)
## S3 method for class 'AnisotropyScaling'
as.AnisotropyScaling(x)
## S3 method for class 'numeric'
as.AnisotropyScaling(x)
## S3 method for class 'AnisotropyRangeMatrix'
as.AnisotropyScaling(x)
Arguments
x |
an object convertible to an anisotropy scaling matrix; see details |
Details
Method as.AnisotropyScaling.numeric()
expects a vector of two numbers in 2D,
or a vector of 5 numbers in 3D. These are in 2D, the azimuth of maximum continuity (in
degrees, clockwise from North) and the anisotropy ratio of short/long range. In 3D
these are: 1,2) the azimuth and the dip of the direction of maximal continuity; 3) the
angle of rotation around the axis of the first direction; 4,5) the anisotropy ratios of
the ranges of the second/first and third/first directions of maximal continuity. All angles
are given in degrees, all ratios must be smaller or equal to 1. This follows gstat (and hence
GSlib) conventions; see gstat::vgm() for details.
Value
A matrix such that for any lag vector
, the variogram model turns
isotropic in terms of
.
Methods (by class)
-
AnisotropyScaling
: identity method -
numeric
: from a vector of numbers -
AnisotropyRangeMatrix
: from an AnisotropicRangeMatrix
See Also
Other anisotropy:
AnisotropyRangeMatrix()
,
AnisotropyScaling()
,
anis_GSLIBpar2A()
,
as.AnisotropyRangeMatrix()
,
is.anisotropySpecification()
Examples
( l = anis_GSLIBpar2A(angles=30, ratios=0.5))
( ll = unclass(l) )
as.AnisotropyScaling(ll)