Skip to contents

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 era object.

Value

Value of the parameter.

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 #'

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)
#> [1] "Before Present"