def_environments {rmacrostrat} | R Documentation |
Define environments
Description
A function to retrieve the definitions for one or more environments in the Macrostrat database. By default, all environment definitions are returned.
Usage
def_environments(
environ = NULL,
environ_type = NULL,
environ_class = NULL,
environ_id = NULL
)
Arguments
environ |
|
environ_type |
|
environ_class |
|
environ_id |
|
Value
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.
Developer(s)
Christopher D. Dean
Reviewer(s)
Lewis A. Jones
See Also
Geologic features and attributes:
def_econs()
,
def_grain_sizes()
,
def_lithologies()
,
def_lithology_att()
,
def_measurements()
,
def_minerals()
,
def_structures()
Examples
# 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")