Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

repairMissingHzDepths

Repair Problematic Lower Horizon Depths


Description

Attempt a simple repair of horizon bottom depths in the presence of NA, or in cases where the horizon shares a common top and bottom depth. Both situations are common in pedon description where "contact" (Cd, Cr, R, etc.) was described without a lower depth. This repair is only applied to the deepest horizon within a profile as identified by getLastHorizonID.

Usage

repairMissingHzDepths(x, adj = 10)

Arguments

x

SoilProfileCollection

adj

vertical offset applied to "repair" affected bottom depths

Value

SoilProfileCollection with a new (logical) horizon-level attribute .repaired marking affected horizons


aqp

Algorithms for Quantitative Pedology

v1.29
GPL (>= 3)
Authors
Dylan Beaudette [aut, cre], Pierre Roudier [aut, ctb], Andrew Brown [aut, ctb]
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.