adk.table {hacks}R Documentation

Cross Tabulation and Frequency Summary

Description

'adk.table' uses the 'table' function in R to build a contingency table of the counts at each factor level. It also shows the percentage and cumulative percentages for that level.

Usage

adk.table(x,digits=NULL)

Arguments

x a vector or a factor.
digits integer indicating the percision to be used.

Author(s)

Vicky Yang

See Also

table, cumsum

Examples

b <- factor(rep(c("A","B","C"), 3))
adk.table(b,3)

[Package hacks version 0.1-5 Index]