I was wondering how to add the values of a Two-Way table on R with out having to do it manually.
# This is the contents of my table, I want to add the values for '0' and '1' ONLY individually for each 'ticket.first.char' variable.
ticket.first.char 0 1 None
1 54 92 64
2 98 85 95
3 229 72 128
4 8 2 1
5 3 0 0
6 5 1 3
7 8 1 4
8 2 0 0
9 0 1 1
A 27 2 13
C 31 16 30
F 3 4 6
L 3 1 1
P 23 42 33
S 44 21 33
W 11 2 6