RDocumentation
Moon
Learn R
Search all packages and functions
Rcmdr (version 0.8-3)
colPercents: Row and Column Percentage Tables
Description
Percentage a matrix or higher-dimensional array of frequency counts by rows or columns.
Usage
colPercents(tab) rowPercents(tab)
Arguments
tab
a matrix or higher-dimensional array of frequency counts.
Value
Returns an array of the same size and shape as
tab
percentaged by rows or columns.