Learn R Programming

dtwSat (version 1.0.0)

get_time_series_freq: Compute the Most Common Sampling Frequency across all observations

Description

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)

Value

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

Arguments

x

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