See function integral.

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