fast_lra | R Documentation |
A fast procedure for computing logratio analysis.
fast_lra(dat, base = exp(1))
dat |
Input data: can be a table or a data frame (but the data frame must have only two columns). |
base |
Numeric specification of the base with respect to which logarithms are computed. |
A list with components:
val |
The eigenvalues (i.e. squared singular values), indicating how much each latent axis explains. |
pos1 |
The coordinates of the first set of levels (viz. the row levels of a frequency table). |
pos2 |
The coordinates of the second set of levels (viz. the column levels of a frequency table). |
Greenacre, M. (2019) Compositional data analysis in practice. Boca Raton: Chapman and Hall/CRC.
Van den Boogaart, K. G. and R. Tolosana-Delgado (2013) Analyzing compositional data with R. Berlin: Springer.
SndT_Fra <- read.table(system.file("extdata", "SndT_Fra.txt", package = "svs"),
header = TRUE, sep = "\t", quote = "\"", encoding = "UTF-8",
stringsAsFactors = FALSE)
lra_SndT_Fra <- fast_lra(SndT_Fra)
lra_SndT_Fra
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.