extract_features: Extract features from a column

Description Usage Arguments Value

View source: R/utils.R

Description

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.

Usage

1

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.


Sage-Bionetworks/mHealthTools documentation built on Sept. 21, 2020, 12:35 p.m.