mutate_integral: Add a column which is the "integral" of an existing column to...

Description Usage Arguments Value

View source: R/utils.R

Description

See function integral.

Usage

1
mutate_integral(sensor_data, sampling_rate, col, derived_col)

Arguments

sensor_data

A data frame with column col.

sampling_rate

Sampling rate of col.

col

Name of column to integrate.

derived_col

Name of new column which is the integral of col.

Value

A dataframe


Sage-Bionetworks/mhealthtools documentation built on Sept. 20, 2020, 1:42 p.m.