title: How do I make borders in a contingency table built in R?
body: <p>I have made a contingency table in R, shown below:</p>
  
  <pre><code>count &lt;- table (dframe1$Contact, dframe1$Brokenbones)          # create the table
  
   count                                                          # check the table
  
        0   1
    0 235  61
    1  54  32
  
  dimnames(count) = list(
  
  c("No contact sport", "Contact sport"),   # adds row names
  c("No broken ankle/leg ", "Broken ankle/leg"))# adds column names
  count
  
  
                   No broken ankle/leg  Broken ankle/leg
  No contact sport                  235               61
  Contact sport                      54               32
  </code></pre>
  
  <p>I would like to add borders to it though, to define the 'cells.' Is that possible in R?</p>