On Mon, 13 Sep 2021, Avi Gross via R-help wrote:
Did I miss something?
Avi, Probably not.
The summarise() command is telling you that you had not implicitly grouped the data and it made a guess. The canonical way is: ... %>% group_by(year, month, day, hour) %>% summarise(...)
After sending the message I saw the example using %>% and didn't realize that it made a difference from the previous example.
You decide which fields to group by, sometimes including others so they are in the output.
That's what I thought I did. I'll rewrite the script and work toward the output I need. Thanks, Rich ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.