Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

Examples

data("SexualFun")
mar_table(SexualFun)

vcd

Visualizing Categorical Data

v1.4-10
GPL-2
Authors
David Meyer [aut, cre], Achim Zeileis [aut] (<https://orcid.org/0000-0003-0918-3766>), Kurt Hornik [aut], Florian Gerber [ctb], Michael Friendly [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.