R/utils.R
floor_decade.Rd
floors to previous decade.
floor_decade(value)
year
decade
floor_decade(2000:2020) #> [1] 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2010 2010 2010 2010 2010 #> [16] 2010 2010 2010 2010 2010 2020