Create integer intervals useful for e.g. sliding means

sliding_intervals(first, last, width)

Arguments

first

the smallest integer in the range to use

last

the largest integer in the range to use

width

the desired width of intervals

Value

data frame with label for each interval and one row for each year