olive | R Documentation |
This three-way contingency table represents an historical data set found in Agresti (1990).
data(olive)
The format is: row names [1:6] "A", "B", "C", "D", "E", "F" col names [1:3] "NW", "NE", "SW" tube names [1:2] "urban", "rural"
Beh EJ and Lombardo R (2014) Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons.
olive <-structure(c(20, 15, 12, 17, 16, 28, 18, 17, 18, 18, 6, 25, 12, 9, 23, 21, 19, 30, 30, 22, 21, 17, 8, 12, 23, 18, 20, 18, 10, 15, 11, 9, 26, 19, 17, 24 ), .Dim = c(6L, 3L, 2L), .Dimnames = list(c("A", "B", "C", "D", "E", "F"), c("NW", "NE", "SW"), c("urban", "rural"))) dim(olive) data(olive)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.