View source: R/ggeta2_variables.R
ggeta2_variables | R Documentation |
Plots the eta-squared (squared correlation ratios) of the active variables of a MCA.
ggeta2_variables(resmca, axes = c(1,2))
resmca |
object of class |
axes |
numeric vector of length 2, specifying the components (axes) to plot. Default is c(1,2). |
This plot was proposed by Escofier and Pagès (2008) under the name "carré des liaisons", i.e. square of relationships, using correlation ratios to measure these relationships. Eta-squared (i.e. correlation ratio) is a measure of global association between a continuous variable and a categorical variable : it measures the share of variance of the continuous variables "explained" by the categorical variable. Here, it is used to plot the association between the active variables and the axes of the MCA cloud.
a ggplot2
object
Nicolas Robette
Escofier B. and Pagès J., 2008, Analyses factorielles simples et multiples, Dunod.
ggcloud_variables
, ggadd_attractions
data(Music)
junk <- c("FrenchPop.NA","Rap.NA","Jazz.NA","Classical.NA","Rock.NA")
mca <- speMCA(Music[,1:5], excl = junk)
ggeta2_variables(mca)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.