Computes the decomposition of inertia to measure the contributions of row and/or columns in multivariate methods
# S3 method for dudi
inertia(x, row.inertia = FALSE, col.inertia = FALSE, ...)
# S3 method for inertia
print(x, ...)
# S3 method for inertia
summary(object, subset = 5, ...)
a duality diagram, object of class dudi
for inertia.dudi
. An object of class inertia
for the methods print
and summary
if TRUE, returns the decomposition of inertia for the rows
if TRUE, returns the decomposition of inertia for the columns
the number of rows and/or columns to display in the summary
further arguments passed to or from other methods
An object of class inertia
, i.e. a list containing :
repartition of the total inertia between axes
contributions of the rows to the total inertia
absolute contributions of the rows (i.e. decomposition per axis)
relative contributions of the rows
cumulative relative contributions of the rows (i.e. decomposition per row)
contributions of the columns to the total inertia
absolute contributions of the columns (i.e. decomposition per axis)
relative contributions of the columns
cumulative relative contributions of the columns (i.e. decomposition per column)
Contributions are printed in percentage and the sign is the sign of the coordinates
Lebart, L., Morineau, A. and Tabart, N. (1977) Techniques de la description statistique, m<U+00E9>thodes et logiciels pour la description des grands tableaux, Dunod, Paris, 61--62. Volle, M. (1981) Analyse des donn<U+00E9>es, Economica, Paris, 89--90 and 118 Lebart, L., Morineau, L. and Warwick, K.M. (1984) Multivariate descriptive analysis: correspondence and related techniques for large matrices, John Wiley and Sons, New York. Greenacre, M. (1984) Theory and applications of correspondence analysis, Academic Press, London, 66. Rouanet, H. and Le Roux, B. (1993) Analyse des donn<U+00E9>es multidimensionnelles, Dunod, Paris, 143--144. Tenenhaus, M. (1994) M<U+00E9>thodes statistiques en gestion, Dunod, Paris, p. 160, 161, 166, 204. Lebart, L., Morineau, A. and Piron, M. (1995) Statistique exploratoire multidimensionnelle, Dunod, Paris, p. 56,95-96.
# NOT RUN {
data(housetasks)
coa1 <- dudi.coa(housetasks, scann = FALSE)
res <- inertia(coa1, col = TRUE, row = FALSE)
res
summary(res)
# }
Run the code above in your browser using DataLab