I’m trying to convert a file that has monthly records of stick prices into a time series, but i constatly get an error saying that
Error in ts(data = asc$TOTAL, start = c(1999, 1), end = c(2023, 12), frequency = 12) : 'ts' object must have one or more observations
Even though i have year, month and prices in seperate columns.
I’ve already tried changing the date format from seperate years and month into ‘dd-mm-yyyy’ format, but it doesn’t change anything ufortunately.