R/table.spss.R

Defines functions table.spss

table.spss <- function(x) {
  cbind( freq = table(x),
         perc = 100*table(x) / sum(table(x)),
         cum.perc = cumsum(100*table(x) / sum(table(x)))
  )
}
tcarpenter216/tomtools documentation built on April 25, 2020, 11:49 a.m.