Extracts the unique boundary years from an epoch definition. Useful for adding vertical reference lines at epoch transitions.
Arguments
- epochs
An object of class
"milestone_epochs"created bydefine_epochs.
Examples
epochs <- define_epochs()
boundaries <- epoch_boundaries(epochs)
print(boundaries)
#> [1] 1500 1600 1700 1800 1850 1900 1950 1975 2000
