Truncation of (daily) dates to years in #RStats came up on SO, and along with heavy hitters @bolkerb and (twitterless?) Thomas Petzoldt three nice answers were put up. I like my (revised) base R one---but there is a 'wart' with `trunc.Date`. stackoverflow.com/a/67562643…
May 17, 2021 · 1:12 PM UTC
2
5
