A faster, more specialized alternative to base::table() for
(cross-)tabulating one or two variables that are (or can be coerced to)
small positive integer codes, as used by polychor() and
polyserial(). Rows with a missing value in either x or y are
dropped before tabulating. Implemented by Kjell S. Slupphaug.