I have a data-set that looks like this :
first <- c(5:14)
second <- rep(c("a","b"),5)
c <- cbind(first, second)
c
first second
[1,] "5" "a"
[2,] "6" "b"
[3,] "7" "a"
[4,] "8" "b"
[5,] "9" "a"
[6,] "10" "b"
[7,] "11" "a"
[8,] "12" "b"
[9,] "13" "a"
[10,] "14" "b"
As you can see, there are two levels (a and b)
I want to make a summary that shows what kind of values are in each level.
a : 5,7,9,11,13
b : 6,8,10,12,14