I have a monthly temporal series with sales in this format (so there\'s no month or year column):
ts(data = Datos, start = c(2015,1), end = c(2020,12), frequency