fast_sca | R Documentation |
A fast procedure for computing simple correspondence analysis.
fast_sca(dat, transform = 1)
dat |
Input data: can be a table or a data frame (but the data frame must have only two columns). |
transform |
Numeric specification of the power transformation to be applied on the data. |
A list with components:
val |
The eigenvalues or principal inertias, 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. (2017) Correspondence analysis in practice, Third edition. Boca Raton: Chapman and Hall/CRC.
SndT_Fra <- read.table(system.file("extdata", "SndT_Fra.txt", package = "svs"),
header = TRUE, sep = "\t", quote = "\"", encoding = "UTF-8",
stringsAsFactors = FALSE)
sca_SndT_Fra <- fast_sca(SndT_Fra)
sca_SndT_Fra
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.