backtrackLayers {sarp.snowprofile.alignment} | R Documentation |
Backtrack layers from average or summary profile
Description
An average profile as computed by dbaSP summarizes the prevalent layer properties of the entire profile set. To better understand the distribution of layer properties within the set, use this function to retrieve layers of interest from the individual profiles of the original profile set.
Usage
backtrackLayers(
avgProfile,
layer = NA,
profileSet = NULL,
layer_units = "row#",
condition = NULL,
computationByHeight = FALSE
)
Arguments
avgProfile |
an average profile as per dbaSP |
layer |
the height or row number of the layer to retrieve the distribution for (given as height or row number of the average profile). If layer
is |
profileSet |
the profile set that is averaged by |
layer_units |
either |
condition |
a condition that subsets which layers are returned. E.g., only layers with a specific grain type, etc.. Note that the condition needs to be substituted in the
function call, e.g. |
computationByHeight |
There are two ways of how to backtrack layers that were aligned to |
Value
This function returns a list of data.frames with the backtracked layers. Each (named) list item corresponds to a specific layer height (cm).
Author(s)
fherla
Examples
## See Vignette for examples.