R

Dernière modification : 2009/10/30 11:22

Création d'un tableau de contingence

tab <- matrix(c(0, 6, 18, 18), nrow = 2, byrow = TRUE)
colnames(tab) <- c("fille", "garçon")
rownames(tab) <- c("excentriques", "inclus")
tab