rowPerc {tigerstats}R Documentation

Row Percents

Description

Computes row percentages for a given two-way table.

Usage

rowPerc(tab)

Arguments

tab

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

Value

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

Author(s)

Homer White hwhite0@georgetowncollege.edu

Examples

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

[Package tigerstats version 0.3.2 Index]