This data set gives the age, the fecundity and the number of litters for 26 groups of cats.
data(chatcat)
chatcat
is a list of two objects :
is a data frame with 3 factors (age, feco, nport).
is a vector of numbers.
One row of tab
corresponds to one group of cats.
The value in eff
is the number of cats in this group.
data(chatcat)
summary(chatcat$tab)
w <- acm.disjonctif(chatcat$tab) # Disjonctive table
names(w) <- c(paste("A", 1:5, sep = ""), paste("B", 1:5, sep = ""),
paste("C", 1:2, sep = ""))
w <- t(w*chatcat$num)
w <- data.frame(w)
w # BURT table
Run the code above in your browser using DataLab