powered by
A function to return grain size definitions from the Macrostrat Database based on user-specified arguments. If no arguments are specified, all definitions are returned.
def_grain_sizes( grain_name = NULL, grain_group = NULL, soil_group = NULL, grain_id = NULL, grain_symbol = NULL, grain_classification = NULL )
A data.frame containing the following columns:
data.frame
grain_id: The unique identification number of the grain.
grain_id
grain_symbol: The grain symbol (or abbreviation) to use for display purposes.
grain_symbol
grain_name: The name of the grain.
grain_name
grain_group: The name of the group the grain belongs to.
grain_group
soil_group: The name of the soil family the grain belongs to.
soil_group
min_size: The minimum size of the size in millimeters.
min_size
max_size: The maximum size of the grain in millimeters.
max_size
classification: The classification scheme the given grain belongs to.
classification
character. The name of the specific grain (e.g., "Coarse Gravel") to return a definition for.
character
character. The name of the group the grain belongs to (e.g., "Gravel") to return a definition for.
character. The name of the family of soils the grain belongs to (e.g., "Coarse Soil") to return a definition for.
integer. The unique identification number(s) of the desired grain definitions(s) to return a definition for.
integer
character. The abbreviation of the desired grain definition(s) (e.g., "CGr") to return a definition for.
character. The classification scheme the given grain belongs to (e.g., "Wentworth") to return a definition for.
Lewis A. Jones
William Gearty
Geologic features and attributes: def_econs(), def_environments(), def_lithologies(), def_lithology_att(), def_measurements(), def_minerals(), def_structures()
def_econs()
def_environments()
def_lithologies()
def_lithology_att()
def_measurements()
def_minerals()
def_structures()
# \donttest{ # Return all definitions ex1 <- def_grain_sizes() # Return grain sizes by group ex2 <- def_grain_sizes(grain_group = "Gravel") # }
Run the code above in your browser using DataLab