I have DateTime columns (time series) in the form of dd/mm/yyyy hh:mm with a gap of 15 minutes. This is the structure of my data frame:
str(WAC)
Classes ‘tbl_df’, ‘tbl’ and 'data.frame': 15840 obs. of 5 variables:
$ Site : chr "WAC" "WAC" "WAC" "WAC" ...
$ ReadingDateTime: chr "01/07/2019 00:00" "01/07/2019 00:15" "01/07/2019 00:30" "01/07/2019 00:45" ...
$ NO_WAC : num 9 5 10 5 4 7 2 1 4 2 ...
$ NO2_WAC : num 18 18 21 14 11 15 7 9 11 10 ...
$ PM10_WAC : num 8.6 8.2 8.4 6.7 5 7.8 7.5 7.8 5.5 7 ...
However, the 97th entry of ReadingDateTime colum is 01/08/2019 00:00, which means that there is a change of mm instead of dd in dd/mm/yyyy. Obviously, I want the time variable to change by dd, how can I do that?