contingency_table_by: Create data frame formed like a contingency-table
Description
Counts by the specified two variables and the pivots the
count data frame wider to a two-dimensional contingency table.
Please note that the resulting data frame is suitable for convenient
output or use with functions that work on matrix-like data,
but does not fulfill the tidy data criteria.