GeoAniso | R Documentation |
Transforms or back-transforms a set of coordinates according to the geometric anisotropy parameters.
GeoAniso(coords, anisopars=c(0,1), inverse = FALSE)
coords |
An n x 2 matrix with the coordinates to be transformed. |
anisopars |
A bivariate vector with the the anisotropy angle and the anisotropy ratio, respectively. The angle must be given in radians in [0,pi] and the anisotropy ratio must be greater or equal than 1. |
inverse |
Logical: Default to FALSE. If TRUE the reverse transformation is performed. |
Geometric anisotropy is defined by a linear tranformation from the anisotropic space to the isotropic space that is
Y = X R S
where X is a matrix with original coordinates (anisotropic space), and Y is a matrix with transformed coordinates (isotropic space).
Here R is a rotation matrix with associated anisotropy angle parameter (in [0,pi]
) and a S
is a shrinking matrix with associated anisotropy ratio
parameter (greeater or equal than one).
The two parameters are specified in the anisopars argument as a bivariate numeric vector. The case (.,1)
corresponds to the isotropic case.
Returns a matrix of transformed coordinates
Moreno Bevilacqua, moreno.bevilacqua89@gmail.com,https://sites.google.com/view/moreno-bevilacqua/home, Víctor Morales Oñate, victor.morales@uv.cl, https://sites.google.com/site/moralesonatevictor/, Christian", Caamaño-Carrillo, chcaaman@ubiobio.cl,https://www.researchgate.net/profile/Christian-Caamano
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.