colPerc: Column Percents

Description Usage Arguments Value Author(s) Examples

Description

Computes column percentages for a given two-way table.

Usage

1
colPerc(tab)

Arguments

tab

A two way table, e.g., the result of xtabs(~var1+var2,data=DataFrame).

Value

An object of class table, giving column percentages for the input table.

Author(s)

Homer White hwhite0@georgetowncollege.edu

Examples

1
2
MyTable <- xtabs(~weather+crowd.behavior,data=ledgejump)
colPerc(MyTable)

homerhanumat/tigerstats documentation built on Sept. 27, 2020, 3:21 a.m.