df <- data.frame(TIME = rep(1:1:24,3),
DV = runif(72, min=5, max=99))
i want to get the statistical summary of DV at each time point
i have used the below code, which worked fine earlier , but now it is not grouping but gives the over all result
Change the name of your data.frame. df is a function name and you may have some kind of a conflict. Otherwise I agree with EconProf. Your code is working fine for me.
Hi, @EconProf@jrkrideau thanks for your help. I have figured something. Actually the code works fine, but it is problem of loading multiple packages. Code is not working when i load both "dplyr" and "plyr" packages, but it works if i load only "dplyr" package.
Sounds likely. I load {data.table} before {tidyverse} in order to not mess up {lubridate}. Humm, maybe I should learn more about {data.table}'s time and date functions.