Learn R Programming

ggpointless (version 0.1.0)

get_decades: Given a year, get the decade

Description

Given a year, get the decade

Usage

get_decades(years, anno_domini = FALSE)

Value

A string of the same length as year

Arguments

years

A numeric vector

anno_domini

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