Learn R Programming

vcd (version 1.1-1)

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