get_decades: Given a year, get the decade

View source: R/utils.R

get_decadesR Documentation

Given a year, get the decade

Description

Given a year, get the decade

Usage

get_decades(years, anno_domini = FALSE)

Arguments

years

A numeric vector

anno_domini

logical; should only "years of the Lord" be considered?

Value

A string of the same length as year


ggpointless documentation built on May 29, 2024, 7:16 a.m.