With order = TRUE
this is the same as the base function
margin.table()
, but faster.
With order = FALSE
the function is even faster, but the indices
in the margin are returned in their original order, regardless of the
way they are specified in margin
.
propTable()
is equivalent to prop.table()
, but faster.