infer_frequency: Infer frequency of a data frame.

View source: R/infer_frequency.R

infer_frequencyR Documentation

Infer frequency of a data frame.

Description

Infer frequency of a data frame.

Usage

infer_frequency(df, freq)

Arguments

df

A data frame with time series data.

freq

The frequency of the data as specified by the user; NULL otherwise.

Value

The inferred frequency.

Examples

df <- nixtlar::electricity
freq <- NULL
infer_frequency(df, freq)


nixtlar documentation built on June 23, 2026, 9:06 a.m.