title: Include dimension names in row and column headers for LaTeX-formatted contingency table
body: <p>If the categories of the attributes in a contingency table are mere numbers, using only these numbers as column/row header is not enough -- a description what the numbers mean is called for. The picture below shows the cross-classification of household size vs. number of foreigners in a household sample:</p>
  
  <p><img src="https://i.stack.imgur.com/GAPwI.png" alt="Example table"></p>
  
  <p>Does anyone have experience in producing such tables using R+LaTeX?</p>