List of one or more factors, each of same length as .x. The elements are coerced to factors by as.factor.
.f
A function to be applied.
...
Optional arguments to .f.
simplify
If FALSE, tapply always returns an array of mode "list". If TRUE (the default), then if FUN always returns a scalar, tapply returns an array with the mode of the scalar.