Calculate the sampling rate.

get_sampling_rate(sensor_data)

Arguments

sensor_data

A data frame with a time column t

Value

The sampling rate (number of samples taken per second on average).