splitFunMerge: Split, Function and Merge

Description Usage Arguments Value

View source: R/misc_utils.R

Description

Splits the input data frame using a grouping column, applies the provided function over each list element and return the row-binded resulting data frame.

Usage

1
splitFunMerge(df, splitCol, fun, addSplitCol = FALSE)

Arguments

df

Data frame to process.

splitCol

Column to split by.

fun

Function to be applied to each sub-data frame.

addSplitCol

Include a column with splitting variable id?

Value

The processed data frame.


martingarridorc/biokit documentation built on June 28, 2021, 12:24 a.m.