def_grain_sizes {rmacrostrat}R Documentation

Define grain sizes

Description

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.

Usage

def_grain_sizes(
  grain_name = NULL,
  grain_group = NULL,
  soil_group = NULL,
  grain_id = NULL,
  grain_symbol = NULL,
  grain_classification = NULL
)

Arguments

grain_name

character. The name of the specific grain (e.g., "Coarse Gravel") to return a definition for.

grain_group

character. The name of the group the grain belongs to (e.g., "Gravel") to return a definition for.

soil_group

character. The name of the family of soils the grain belongs to (e.g., "Coarse Soil") to return a definition for.

grain_id

integer. The unique identification number(s) of the desired grain definitions(s) to return a definition for.

grain_symbol

character. The abbreviation of the desired grain definition(s) (e.g., "CGr") to return a definition for.

grain_classification

character. The classification scheme the given grain belongs to (e.g., "Wentworth") to return a definition for.

Value

A data.frame containing the following columns:

Developer(s)

Lewis A. Jones

Reviewer(s)

William Gearty

See Also

Geologic features and attributes: def_econs(), def_environments(), def_lithologies(), def_lithology_att(), def_measurements(), def_minerals(), def_structures()

Examples


 # Return all definitions
 ex1 <- def_grain_sizes()
 # Return grain sizes by group
 ex2 <- def_grain_sizes(grain_group = "Gravel")


[Package rmacrostrat version 0.0.2 Index]