table(x$attrally, x$race) #View simple contingency table
##
## black other white
## have done it in the more distant past 29 13 251
## have done it in the past yr 22 8 153
## have not done it and would never do it 84 37 285
## have not done it but might do it 81 38 466
Levels of x$attrally are in weird order, let's re-order them...
Re-order Factor Levels
x$attrally <- factor(x$attrally, levels = c("have not done it and would never do it",
"have not done it but might do it", "have done it in the more distant past",
"have done it in the past yr"))