Learn R Programming

nixtlar (version 0.6.1)

infer_frequency: Infer frequency of a data frame.

Description

Infer frequency of a data frame.

Usage

infer_frequency(df, freq)

Value

The inferred frequency.

Arguments

df

A data frame with time series data.

freq

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

Examples

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

Run the code above in your browser using DataLab