See function derivative.

mutate_derivative(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 differentiate.

derived_col

Name of new column which is the derivative of col.

Value

A dataframe