R: How to get the maximum value of a datetime column in a time series data
问题 I am working on a time series data. I have 2 date time columns and 1 fiscal week column. I have given an example where I have a situation like below and I need to get the MAX of the EditDate. EditDate <- c("2015-04-01 11:40:13", "2015-04-03 02:54:45","2015-04-07 11:40:13") ID <- c("DL1X8", "DL1X8","DL1X8") Avg <- c(38.1517, 38.1517, 38.1517) Sig <- c(11.45880000, 11.45880000, 11.45880000) InsertDate <- c("2015-04-03 9:40:00", "2015-04-03 9:40:00",2015-04-10 9:40:00) FW <- c("39","39","40")