The function applied to the values of each group. Equivalent to R's tapply(x, index, fun).
index is one array of group labels (one per value of x) or an array of such arrays, one per factor. The
function is called only for the non-empty cells; a value of x whose label is missing is left out.
The function applied to the values of each group. Equivalent to R's
tapply(x, index, fun).indexis one array of group labels (one per value ofx) or an array of such arrays, one per factor. The function is called only for the non-empty cells; a value ofxwhose label is missing is left out.