a univariate time series object of a class "ts", "zoo", "xts", and the data frame family (data.frame, data.table, tbl, tibble, etc.) with a
Date column and at least one numeric column. This function support time series objects with a daily, weekly, monthly or quarterly frequencies