How to convert a data frame without 'Date' column into time series?

Hi there,

I have a data frame that contains 2 columns like "Title" and "Value" and I need to convert it into a time series. That data frame will be renewed with new values and will be exported to a .xlsx file every month.

Is it possible to do something like this? Or at least add additional date column to that data frame?

For a time series, the date field is unnecessary.

myts <- ts(my_data, start = c(2020,1), frequency = 12)

for monthly data.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.