I'm experimenting with nixtla_client_forecast() and nixtla_client_plot(). When I'm using monthly data and try to visualize the forecast, I get an error:
dat <-
data.frame(
ds = seq.Date(from = as.Date("2018-01-01"), to = as.Date("2024-10-01"), by = "month"),
y = rnorm(n = 82, mean =3, sd = 1)*500000,
unique_id = rep("1",82)
)
nixtla_client_fcst <-
nixtla_client_forecast(df = dat,
h = 6,
level = c(95),
add_history = T)
nixtla_client_plot(df = dat,
fcst = nixtla_client_fcst)
Error: Invalid input: time_trans works with objects of class POSIXct only
I'm experimenting with nixtla_client_forecast() and nixtla_client_plot(). When I'm using monthly data and try to visualize the forecast, I get an error:
This throws an error: