yr | R Documentation |
A yr
object represents years with an associated calendar era or time scale.
yr(x = numeric(), era = character())
x |
A numeric vector of years. |
era |
The calendar era used by
|
A yr
(era_yr
) object.
Other years with era functions:
yr_era()
,
yr_transform()
# The R Age yr(1993:2020, "CE") # A bad movie yr(10000, "BC")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.