Entering edit mode
4.2 years ago
paramount.amin
•
0
In order to investigate the seasonality effect in my data set, I want to select rows with a specific date and time values. I have multiple rows with the same date and time value ( i have combined multiple CSV files, each starting from the first day of January to the last day of December). I am using the following code;
filter(data,data$DateTime > "2019-01-01" & data$DateTime < "2019-03-01" )
but the results are not what I want. How can I select my desired range of date and time and save it in a distinct data frame to perform my analysis on it?
Thank you
Check the attached thread in StackOverflow https://stackoverflow.com/questions/22420487/subsetting-data-table-set-by-date-range-in-r
Date
.Now it just returns NA values!
Share an excerpt of the data.