Skip to Content

mariages {ade4}

Correspondence Analysis Table
Package: 
ade4
Version: 
1.7-4

Description

This array contains the socio-professionnal repartitions of 5850 couples.

Usage

data(mariages)

Examples

data(mariages)
w <- dudi.coa(mariages, scan = FALSE, nf = 3)
 
if(adegraphicsLoaded()) {
  g1 <- scatter(w, met = 1, posi = "bottomleft", plot = FALSE)
  g2 <- scatter(w, met = 2, posi = "bottomleft", plot = FALSE)
  g3 <- scatter(w, met = 3, posi = "bottomleft", plot = FALSE)
  ## g4 <- score(w, 3)
  G <- ADEgS(list(g1, g2, g3), layout = c(2, 2))
 
} else {
  par(mfrow = c(2, 2))
  scatter(w, met = 1, posi = "bottom")
  scatter(w, met = 2, posi = "bottom")
  scatter(w, met = 3, posi = "bottom")
  score(w, 3)
  par(mfrow = c(1, 1))
}

Documentation reproduced from package ade4, version 1.7-4. License: GPL (>= 2)