If there a function that will give me both counts and column/overall percents in the same table? I can looked at both tables and reshape2 and don\'t see an option for doing
Here is one approach, you still need a second step, but it comes before the tabular command so the result is still a tabular object.
n <- 100
x <- sample(letters[1:3], n, T)
y <- sample(letters[1:3], n, T)
d <- data.frame(x=x, y=y)
d$z <- 1/ave( rep(1,n), d$x, FUN=sum )
(t1 <- tabular(x~y*Heading()*z*((n=length) + (p=sum)), d))