mtapply {clickR} | R Documentation |
Modification of the tapply function to use with data.frames. Consider using aggregate()
mtapply(x, group, fun)
x |
A data.frame |
group |
Grouping variable |
fun |
Function to apply by group |
mtapply(mtcars, mtcars$gear, mean)