For a contingency table in array form, compute the sum of table entries for a given margin or set of margins.
a vector giving the margins to compute sums for.
E.g., for a matrix
The relevant marginal table, or just the sum of all entries if
margin has length zero. The class of
x is copied to the
output table if
margin is non-NULL.
margin.table is an earlier name, retained for back-compatibility.
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.