Learn R Programming

vcd (version 0.1-3.5)

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 added total column and total row.

Examples

Run this code
data(SexualFun)
mar.table(SexualFun)

Run the code above in your browser using DataLab