Skip to contents

floors to previous decade.

Usage

floor_decade(value)

Arguments

value

year

Value

decade

Examples

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