def_intervals {rmacrostrat} | R Documentation |
A function to retrieve Macrostrat time interval definitions matching a user-specific search criteria. If no arguments are specified (the default), all time interval definitions are returned.
def_intervals(
timescale = NULL,
interval_name = NULL,
interval_id = NULL,
age = NULL,
age_top = NULL,
age_bottom = NULL,
rule = NULL,
true_colors = NULL
)
timescale |
|
interval_name |
|
interval_id |
|
age |
|
age_top |
|
age_bottom |
|
rule |
|
true_colors |
|
A data.frame
containing the following columns:
int_id
: The unique identification number of the time
interval.
name
: The name of the time interval.
abbrev
: The standard abbreviation for the time interval
name, if one exists.
t_age
: The top age (minimum age) in millions of years
before present.
b_age
: The bottom age (maximum age) in millions of years
before present.
int_type
: The temporal rank of the interval (e.g., "age",
"epoch", "chron").
timescales
: A data.frame
containing the timescale(s)
that the interval is included in (see def_timescales()
for more
details), with the following columns:
timescale_id
: The unique identification number of the
timescale.
name
: The name of the timescale.
color
: The recommended coloring for units based on dominant
lithology.
Lewis A. Jones
William Gearty
Timescales and time intervals:
def_timescales()
# Return all intervals
ex1 <- def_intervals()
# Return all specific timescale intervals
ex2 <- def_intervals(timescale = "international ages")
# Return for specific age
ex3 <- def_intervals(timescale = "international ages", age = 70)