The cartographer CA plot

library(ca)
library(vcdExtra)
str(Gilby)
##  table [1:6, 1:4] 33 48 113 209 194 39 41 100 202 255 ...
##  - attr(*, "dimnames")=List of 2
##   ..$ Dullness: chr [1:6] "Ment. defective" "Slow" "Slow Intell" "Fairly Intell" ...
##   ..$ Clothing: chr [1:4] "V.Well clad" "Well clad" "Passable" "Insufficient"
head(Gilby)
##                  Clothing
## Dullness          V.Well clad Well clad Passable Insufficient
##   Ment. defective          33        41       39           17
##   Slow                     48       100       58           13
##   Slow Intell             113       202       70           22
##   Fairly Intell           209       255       61           10
##   Capable                 194       138       33           10
##   V.Able                   39        15        4            1
plot(ca(Gilby))

plot of chunk unnamed-chunk-3

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos necesarios están marcados *

Post Navigation