Describing the problem - Linear Example
Counting the number of observations of each group.
( count_matrix <- table(x1c, x2c) )
## x2c
## x1c (0,0.2] (0.2,0.4] (0.4,0.6] (0.6,0.8] (0.8,1]
## (0,0.2] 51 39 31 43 43
## (0.2,0.4] 39 40 35 53 42
## (0.4,0.6] 28 42 35 49 40
## (0.6,0.8] 37 30 36 55 45
## (0.8,1] 43 46 36 28 34