Convert a codeset to a contingency table

as.contingency.table(x)

Arguments

x

codeset

Value

contingency table as a 2x2 matrix