Get the marginal distributions
# S3 method for tables
margin(x, margin = NULL, order = TRUE, ...)
An object of class tables
consisting of the required marginal
distribution.
an object of class tables
integer vector giving margin to be calculated (1 for rows, etc.)
logical indicating whether resulting indices
should be in the same order as stated in margin
other arguments to function
Calculates marginal distributions for each entry in a probMat
.