a function that takes a numeric vector and computes a summary statistic,
returning a numeric vector of length 1.
output.multiple
a boolean indicating whether fun returns multiple values
envir
an environment in which evaluation takes place.
na.rm
the default value for na.rm in the resulting function.
style
one of "flexible" or "formula". In the latter case, the first
argument must be a formula or evaluate to an object. In the former case, bare names will
be converted into formulas.
Value
a function that generalizes fun to handle a formula/data frame interface.