powered by
rprop(tab, digits = 1, total = TRUE, percent = FALSE, drop = TRUE)
TRUE
NaN
table
proptab
cprop
prop
prop.table
## Sample table data(Titanic) tab <- apply(Titanic, c(1,4), sum) ## Column percentages rprop(tab) ## Column percentages with custom display rprop(tab, digits=2, percent=TRUE, total=FALSE)
Run the code above in your browser using DataLab