R/get.increase.matrix.R
get.increase.depths.Rd
get.increase.depths
performs the conversion of the square matrix
output of get.increase.matrix
back to horizon top depth for where
criteria were met.
get.increase.depths(p, attr, threshold.fun, vertical.distance)
a SoilProfileCollection, containing a single profile
horizon attribute name to get the "increase" of
a function that returns the threshold (as a function of attr); may return a constant single value
the vertical distance (determined from difference SPC top depth variable) within which increase must be met
Returns a numeric vector of depths where the increase requirement is met. For the argillic, the first is the one of interest.
get.increase.depths
converts to horizon dop depth by using above
matrix output to determine depths where increase is met.
Note that the threshold.fun
result is allowed to contain NA, but that will
result in no output for affected cells.
getArgillicBounds
, crit.clay.argillic