rowPerc | R Documentation |
Computes row percentages for a given two-way table.
rowPerc(tab)
tab |
A table, e.g.,
the result of |
An object of class table
, giving row percentages
for the input table.
Homer White hwhite0@georgetowncollege.edu
data(ledgejump)
MyTable <- xtabs(~weather+crowd.behavior,data=ledgejump)
rowPerc(MyTable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.