Skip to contents

This function calculates the most common difference between consecutive time points. This can be useful for determining the aproximate sampling frequency of the time series data.

Usage

get_time_series_freq(x)

Arguments

x

A data frame including a column called `observations`` with the time series

Value

A difftime object representing the most common time difference between consecutive samples.