colPerc {tigerstats} | R Documentation |
Column Percents
Description
Computes column percentages for a given two-way table.
Usage
colPerc(tab)
Arguments
tab |
A two way table, e.g.,
the result of |
Value
An object of class table
, giving column percentages
for the input table.
Author(s)
Homer White hwhite0@georgetowncollege.edu
Examples
MyTable <- xtabs(~weather+crowd.behavior,data=ledgejump)
colPerc(MyTable)
[Package tigerstats version 0.3.2 Index]