0

I'm currently working on an analysis of a dataset. The dataset looks like this: dataset

I am slightly unsure about how to inform R that it is a daily timeseries dataset, with the dates defined in column A.

After informing R that it is a daily timeseries dataset, I am planing to do regressions on the dataset.

If anyone knows how to do this, then it would be greatly appreciated.

Best regards :)

Peter
  • 11,500
  • 5
  • 21
  • 31
  • You should make your example reproducible (instead of a screenshot) and provide some code of what you've tried: https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – william3031 Jan 20 '22 at 04:39

1 Answers1

0

You can use Lubridate https://lubridate.tidyverse.org/ part of the tidyverse. I assume you have imported your dataframe into R, then select the column and covert to Date format using lubridate:

dmy(df$Date) 
Emax
  • 51
  • 8