table.margins: Marginal totals of a table

Description Usage Arguments Details Value Author(s) References See Also Examples

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

Author(s)

Tomas Aragon, [email protected], http://www.phdata.science

References

none

See Also

See also margin.table

Examples

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

epitools documentation built on May 29, 2017, 3:40 p.m.