logical values indicating whether we drop
empty levels
x
numerical vector
Author
Charles-Édouard Giguère
Details
The xtab functions corrects the inability to deal with missing
values in the original xtabs that comes with R base. Total is
a utility function to use in conjunction with addmargins instead of sum.