Two-way frequency tables