Learn R Programming

sharpshootR (version 2.3)

reconcileOSDGeomorph: Reconcile IDs between a SPC and associated geomorphic proportion table

Description

This function can assist with linked visualizations that include soil morphology data stored in a SoilProfileCollection and geomorphic proportions stored in a data.frame, as returned by soilDB::fetchOSD().

Usage

reconcileOSDGeomorph(
  x,
  selection = c("hillpos", "geomcomp", "flats", "mtnpos", "terrace", "shape_across",
    "shape_down")
)

Value

a list with subset SoilProfileCollection and data.frame of geomorphic proportions, selection is preserved as an attribute.

Arguments

x

resulting list from soilDB::fetchOSD(..., extended = TRUE)

selection

character, name of geomorphic proportion table

Author

D.E. Beaudette