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

character. The name of a specific environment (e.g., "reef") to return a definition for.

environ_type

character. The name of a type of environment (e.g., "carbonate") to return a definition for.

environ_class

character. The name of a class of environment (e.g., "marine") to return a definition for.

environ_id

integer. The unique identification number of the desired environment to return a definition for.

Value

A data.frame containing the following columns:

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")


[Package rmacrostrat version 1.0.0 Index]