chatcat: Qualitative Weighted Variables

Description Usage Format Details Source Examples

Description

This data set gives the age, the fecundity and the number of litters for 26 groups of cats.

Usage

1

Format

chatcat is a list of two objects :

tab

is a data frame with 3 factors (age, feco, nport).

eff

is a vector of numbers.

Details

One row of tab corresponds to one group of cats.
The value in eff is the number of cats in this group.

Source

Pontier, D. (1984) Contribution à la biologie et à la génétique des populations de chats domestiques (Felis catus). Thèse de 3ème cycle. Université Lyon 1, p. 67.

Examples

1
2
3
4
5
6
7
8
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

Example output

  age       feco    nport 
 1  :5   1-2  : 3   1: 9  
 2-3:6   3-6  :10   2:17  
 4-5:5   7-8  : 6         
 6-7:5   9-12 : 5         
 >=8:5   13-14: 2         
   X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 X14 X15 X16 X17 X18 X19 X20 X21
A1  7  0  0 18  0  0  0  0  5   0   0   0   0   0   1   0   0   0   0   1   0
A2  0  3  0  0 14  0  0  0  0  10   0   0   0   0   0  14   0   0   0   0   4
A3  0  0  0  0  0  3  0  0  0   0   1   0   0   1   0   0   7   0   0   0   0
A4  0  0  0  0  0  0  3  0  0   0   0   5   0   0   0   0   0   5   0   0   0
A5  0  0  2  0  0  0  0  3  0   0   0   0   3   0   0   0   0   0   5   0   0
B1  7  3  2  0  0  0  0  0  0   0   0   0   0   0   0   0   0   0   0   0   0
B2  0  0  0 18 14  3  3  3  5  10   1   5   3   0   0   0   0   0   0   0   0
B3  0  0  0  0  0  0  0  0  0   0   0   0   0   1   1  14   7   5   5   0   0
B4  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0   0   0   0   0   1   4
B5  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0   0   0   0   0   0   0
C1  7  3  2 18 14  3  3  3  0   0   0   0   0   1   0   0   0   0   0   0   0
C2  0  0  0  0  0  0  0  0  5  10   1   5   3   0   1  14   7   5   5   1   4
   X22 X23 X24 X25 X26
A1   0   0   0   0   0
A2   0   0   0   2   0
A3   6   0   0   0   0
A4   0   4   0   0   2
A5   0   0   5   0   0
B1   0   0   0   0   0
B2   0   0   0   0   0
B3   0   0   0   0   0
B4   6   4   5   0   0
B5   0   0   0   2   2
C1   0   0   0   0   0
C2   6   4   5   2   2

ade4 documentation built on May 2, 2019, 5:50 p.m.

Related to chatcat in ade4...