Two-way contingency tables for complex sampling schemes | Synapse