happy {CA3variants}R Documentation

Three-way contingency table

Description

This three-way contingency table represents an historical data set found in Beh and Lombardo (2014).

Usage

data(happy)

Format

The format is: row names [1:3] "H1", "H2", "H3" col names [1:5] "S1", "S2", "S3", "S4", "S5" tube names [1:4] "E1", "E2", "E3", "E4"

References

Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons.

Examples

happy <-
structure(c(15, 17, 7, 34, 53, 20, 36, 70, 23, 22, 67, 16, 61, 
79, 36, 31, 60, 5, 60, 96, 12, 46, 45, 11, 25, 40, 12, 26, 31, 
7, 35, 63, 5, 45, 74, 10, 30, 39, 4, 13, 24, 4, 8, 7, 3, 18, 
15, 2, 14, 15, 1, 3, 9, 2, 3, 2, 0, 4, 1, 1), .Dim = c(3L, 5L, 
4L), .Dimnames = list(c("H1", "H2", "H3"), c("S1", "S2", "S3", 
"S4", "S5"), c("E1", "E2", "E3", "E4")))
dim(happy)

[Package CA3variants version 3.0 Index]