Skip to content
Prev 387544 / 398502 Next

How to average minutes per hour per month in the form of '# hours #minutes'

Hallo

Sorry I cannot help you in tidyverse. I would use aggregate together with format

aggregate(whatever, list(format(datum, "%Y")), sum)
aggregate(whatever, list(format(datum, "%m")), sum)

Cheers
Petr