era_year | R Documentation |
era_year
objects describe the unit used for a year as its length in days.
This value is used in an era definition (era()
) to enable conversions
between eras that use different units (with yr_transform()
).
era_year(label = character(), days = 365.2425)
label |
Character. Name of the year unit. |
days |
Numeric. Average length of the year in solar days. Defaults to a Gregorian year (365.2425 days). |
S3 vector of class era_year
.
Other era helper functions:
era_parameters
,
era_year_parameters
,
era
,
is_era_year()
,
is_era()
,
is_yr()
,
this_year()
era_year("Julian", 365.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.