The alpha-IT transformation | R Documentation |
\alpha
-IT transformation
The \alpha
-IT transformation.
ait(x, a, h = TRUE)
x |
A matrix with the compositional data. |
a |
The value of the power transformation, it has to be between -1 and 1. If zero
values are present it has to be greater than 0. If |
h |
A boolean variable. If is TRUE (default value) the multiplication with the
Helmert sub-matrix will take place. When |
The \alpha
-IT transformation is applied to the compositional data.
A matrix with the \alpha
-IT transformed data.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Clarotto L., Allard D. and Menafoglio A. (2022). A new class of
\alpha
-transformations for the spatial analysis of Compositional
Data. Spatial Statistics, 47.
aitdist, ait.knn, alfa, green, alr
library(MASS)
x <- as.matrix(fgl[, 2:9])
x <- x / rowSums(x)
y1 <- ait(x, 0.2)
y2 <- ait(x, 1)
rbind( colMeans(y1), colMeans(y2) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.