univariate_ilr | R Documentation |
Computes univariate ILR coordinates.
univariate_ilr(object, ...)
## S4 method for signature 'numeric'
univariate_ilr(object)
## S4 method for signature 'matrix'
univariate_ilr(object)
object |
A |
... |
Currently not used. |
The ILR transformation provides the coordinates of any composition with
respect to a given orthonormal basis. transform_ilr()
uses the orthonormal
basis (Helmert matrix) originally defined by Egozcue et al. (2003).
Same as object
.
N. Frerebeau
Filzmoser, P., Hron, K. & Reimann, C. (2009). Univariate Statistical Analysis of Environmental (Compositional) Data: Problems and Possibilities. Science of The Total Environment, 407(23), 6100-6108. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.scitotenv.2009.08.008")}.
Filzmoser, P., Hron, K. & Reimann, C. (2010). The Bivariate Statistical Analysis of Environmental (Compositional) Data. Science of The Total Environment, 408(19), 4230-4238. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.scitotenv.2010.05.011")}.
## Data from Aitchison 1986
data("hongite")
## Coerce to compositional data
coda <- as_composition(hongite)
## Isometric log-ratio
ilr <- transform_ilr(coda)
plr <- transform_plr(coda)
## Inverse transformation
inv_ilr <- transform_inverse(ilr)
all.equal(coda, inv_ilr)
inv_plr <- transform_inverse(plr)
all.equal(coda, inv_plr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.