performs a multiple CO-inertia analysis,
using an object of class ktab
.
mcoa(X, option = c("inertia", "lambda1", "uniform", "internal"),
scannf = TRUE, nf = 3, tol = 1e-07)
# S3 method for mcoa
print(x, ...)
# S3 method for mcoa
summary(object, ...)
# S3 method for mcoa
plot(x, xax = 1, yax = 2, eig.bottom = TRUE, ...)
mcoa returns a list of class 'mcoa' containing :
a numeric vector with the all pseudo eigenvalues
the call-up order
a numeric value indicating the number of kept axes
a data frame with the synthetic scores
a data frame with the co-inertia axes
a data frame with the co-inertia coordinates
a data frame with the co-inertia normed scores
a data frame with the inertia axes onto co-inertia axis
a data frame with the column coordinates onto synthetic scores
a data frame with the factors for Tli Tl1
a data frame with the factors for Tco
a data frame with the factors for Tax
a data frame with the all eigenvalues (computed on the separate analyses)
a numeric vector with the all pseudo eigenvalues (synthetic analysis)
an object of class ktab
a string of characters for the weightings of the arrays options :
weighting of group k by the inverse of the total inertia of the array k
weighting of group k by the inverse of the first eigenvalue of the k analysis
uniform weighting of groups
weighting included in X$tabw
a logical value indicating whether the eigenvalues bar plot should be displayed
if scannf FALSE, an integer indicating the number of kept axes
a tolerance threshold, an eigenvalue is considered positive if it is larger than -tol*lambda1
where lambda1
is the largest eigenvalue.
an object of class 'mcoa'
further arguments passed to or from other methods
the numbers of the x-axis and the y-axis
a logical value indicating whether the eigenvalues bar plot should be added
Daniel Chessel
Anne-Béatrice Dufour anne-beatrice.dufour@univ-lyon1.fr
Chessel, D. and Hanafi, M. (1996) Analyses de la co-inertie de K nuages de points, Revue de Statistique Appliquée, 44, 35--60.
data(friday87)
w1 <- data.frame(scale(friday87$fau, scal = FALSE))
w2 <- ktab.data.frame(w1, friday87$fau.blo, tabnames = friday87$tab.names)
mcoa1 <- mcoa(w2, "lambda1", scan = FALSE)
mcoa1
summary(mcoa1)
plot(mcoa1)
Run the code above in your browser using DataLab