The function has been removed from mosaic.
mm(formula, data = parent.frame(), fun = mean, drop = TRUE, ...)
A formula. The left-hand side specifies the variable over
which the mean will be taken. The right-hand side gives the grouping variables,
separated by &
.
A data frame to which the formula variables refer. If not specified, variables will be taken from the current environment.
The function used to calculate the means. Default: mean
.
Logical flag indicating whether to drop unoccupied groups. Default TRUE
.
NOT YET IMPLEMENTED.
Additional arguments to be passed to the fun
doing the calculation.