mtapply: Multiple tapply

View source: R/descriptive.R

mtapplyR Documentation

Multiple tapply

Description

Modification of the tapply function to use with data.frames. Consider using aggregate()

Usage

mtapply(x, group, fun)

Arguments

x

A data.frame

group

Grouping variable

fun

Function to apply by group

Examples

mtapply(mtcars, mtcars$gear, mean)

David-Hervas/clickR documentation built on March 1, 2025, 3:55 a.m.