table.margins {epitools} | R Documentation |
Calculates marginal totals of a matrix, table, or array.
table.margins(x)
x |
is a matrix, table, or array |
Calculates marginal totals of a matrix, table, or array.
Returns original object with marginal totals
Visit http://www.epitools.net for the latest.
Tomas Aragon, aragon@berkeley.edu, http://www.medepi.com
none
See also margin.table
x <- matrix(1:4, 2, 2) table.margins(x)