Apply each of the functions in funs to the column col in the grouped data frame x. Each of the functions in funs must accept a single vector as input and output a data frame.

extract_features(x, col, funs)

Arguments

x

A grouped data frame with column col.

col

The name of the column in x to pass to each function in funs.

funs

A list of functions that each accept a single vector as input.

Value

a data frame with the original grouped columns and other feature columns.