get_time_series_freq: Compute the Most Common Sampling Frequency across all...

View source: R/train.R

get_time_series_freqR Documentation

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)

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.


dtwSat documentation built on Sept. 22, 2023, 9:06 a.m.