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)

clickR documentation built on Aug. 8, 2023, 1:11 a.m.