This function takes a ggplot object and adds a geologic time scale at the specified side using the grid and gtable packages.
If custom data is provided (with dat), it should consist of at least 3
columns of data. See data(periods) for an example.
The
namecolumn lists the names of each time interval. These will be used as labels if no abbreviations are provided.The
max_agecolumn lists the oldest boundary of each time interval.The
min_agecolumn lists the youngest boundary of each time interval.The
abbrcolumn is optional and lists abbreviations that may be used as labels.The
colorcolumn is also optional and lists a hex color code (which can be obtained withrgb()) for each time interval.
Life cycle
This function is fully deprecated in favor of coord_geo() as of
deeptime version 2.3.0. It will be removed in a future version.
