adk.table {hacks} | R Documentation |
'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.
adk.table(x,digits=NULL)
x |
a vector or a factor. |
digits |
integer indicating the percision to be used. |
Vicky Yang
b <- factor(rep(c("A","B","C"), 3)) adk.table(b,3)