Hi @Santosh_K,
this is very difficult to answer without a reprex. The typical pipeline would be
df %>%
group_by(time) %>%
summarize(avg_of_something = mean(something))
If you want to summarize all variables (except the group_by
of course) then use summarize_all(mean)
.