Skip to contents

Apply a function f repeatedly to different columns of a data.frame. Assumes that ellipsis arguments contain (only) one vector entry and that function f should be applied sequentially to each of these entries. Does not work with unquoted column names

Usage

.freducePartial(df, f, cls, ...)

Arguments

df

A data.frame or tibble

f

Function that returns a (mutated) data.frame

cls

character(1) Name of entry in ... for iterating.

...

Extra arguments for f