Description Usage Arguments Value References Examples
A fast procedure for computing discriminant correspondence analysis.
1 |
dat |
Input data: can be a table or a data frame (but the data frame must have only two columns). |
clusters1 |
A clustering of the first set of levels: either a list or the output of |
clusters2 |
A clustering of the second set of levels: either a list or the output of |
members |
Logical indicating whether the (supplementary) coordinates for the individual levels should also be computed. |
A list with components:
|
The eigenvalues or principal inertias, indicating how much each latent axis explains. |
|
The coordinates of the cluster centers for the first set of levels. |
|
The coordinates of the cluster centers for the second set of levels. |
|
If |
|
If |
Abdi, H. (2007) Discriminant correspondence analysis. In: N. Salkind (ed.) Encyclopedia of measurement and statistics. Thousand Oaks: SAGE.
1 2 3 4 5 6 7 | 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)
kcl.SndT_Fra <- kmeans(sca.SndT_Fra$pos1, centers = 7)
dca.SndT_Fra <- fast_dca(SndT_Fra, clusters1 = kcl.SndT_Fra)
dca.SndT_Fra
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.