def_environments {rmacrostrat} | R Documentation |
A function to retrieve the definitions for one or more environments in the Macrostrat database. By default, all environment definitions are returned.
def_environments(
environ = NULL,
environ_type = NULL,
environ_class = NULL,
environ_id = NULL
)
environ |
|
environ_type |
|
environ_class |
|
environ_id |
|
A data.frame
containing the following columns:
environ_id
: The unique identification number of the
environment.
name
: The name of the environment.
type
: Environment type, less inclusive than class.
class
: Environment class, more inclusive than type.
color
: Recommended coloring for environment, based on the
dominant lithology.
t_units
: The total number of Macrostrat units that are
partially, or entirely, composed of the environment.
Christopher D. Dean
Lewis A. Jones
Geologic features and attributes:
def_econs()
,
def_grain_sizes()
,
def_lithologies()
,
def_lithology_att()
,
def_measurements()
,
def_minerals()
,
def_structures()
# Return all environment definitions
ex1 <- def_environments()
# Return subsets of environment definitions
ex2 <- def_environments(environ = "reef")
ex3 <- def_environments(environ_type = "carbonate")
ex4 <- def_environments(environ_class = "marine")