title: Frequency tables with weighted data in R
body: <p>I need to calculate the frequency of individuals by age and marital status so normally I'd use:</p>
  
  <pre><code>    table(age, marital_status)
  </code></pre>
  
  <p>However each individual has a different weight after the sampling of the data. How do I incorporate this into my frequency table?</p>