Marginal totals of a table

Share:

Description

Calculates marginal totals of a matrix, table, or array.

Usage

1

Arguments

x

is a matrix, table, or array

Details

Calculates marginal totals of a matrix, table, or array.

Value

Returns original object with marginal totals

Note

Visit http://medepi.com for the latest.

Author(s)

Tomas Aragon, aragon@berkeley.edu, http://www.medepi.com

References

none

See Also

See also margin.table

Examples

1
2
x <- matrix(1:4, 2, 2)
table.margins(x)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.