mtapply {clickR}R 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)

[Package clickR version 0.8.0 Index]