RDocumentation
Moon
Learn R
Search all packages and functions
vcd (version 0.9-0)
mar_table: Table with Marginal Sums
Description
Adds row and column sums to a two-way table.
Usage
mar_table(x)
Arguments
x
a two-way table.
Value
A table with row and column totals added.
Examples
Run this code
data(SexualFun)
mar_table(SexualFun)
Run the code above in your browser using
DataLab