applyOnSecondLevel: go over levels and apply certain function

Usage Arguments Value Examples

Usage

1
    applyOnSecondLevel(x, valueCol, levelCols, FUN)

Arguments

x

data.frame

valueCol

column with values to apply function to (length = 2)

levelCols

column names to go over levels

FUN

function to apply to last levels

Value

data.frame with applied function

Examples

1
2
3
4
5
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as

michelk/logbuch.R documentation built on May 22, 2019, 9:55 p.m.