get_decades {ggpointless}R 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


[Package ggpointless version 0.1.0 Index]