era_parameters {era} | R Documentation |
Get parameters of an era
Description
Extracts a specific parameter from an era object.
Usage
era_label(x)
era_epoch(x)
era_name(x)
era_unit(x)
era_scale(x)
era_direction(x)
Arguments
x |
An |
Details
The available parameters are:
-
label – unique, abbreviated label of the era, e.g. "cal BP"
-
epoch – year of origin of the era, e.g. 1950 for Before Present
-
name – full name of the era, e.g. "calendar years Before Present"
-
unit – unit of years used, an
era_year()
object -
scale – multiple of years used, e.g. 1000 for ka/kiloannum
-
direction – whether years are counted "backwards" or "forwards" from the epoch #'
Value
Value of the parameter.
See Also
Other era helper functions:
era_year_parameters
,
era_year
,
era
,
is_era_year()
,
is_era()
,
is_yr()
,
this_year()
Examples
x <- era("cal BP")
era_name(x)
[Package era version 0.4.1 Index]