
Build per-taxon mean depth profiles for predicted-taxon gap-fill
Source:R/gapfill.R
build_taxon_profiles.RdFor each taxon (the first word of the reference label at the requested level),
averages each attribute across the calibration pedons into the six standard
depth slices (0-5 ... 100-200 cm). The result feeds
gapfill_by_predicted_taxon. Calibrate on a set DISJOINT from the
pedons you will fill (e.g. a train split) to keep the fill non-circular.
Arguments
- pedons
A list of
PedonRecordwith a reference label.- ref_field
Site field holding the reference label (default
"reference_sibcs"; e.g."reference_usda"/"reference_wrb").- attrs
Attributes to profile (default the continuous gap-fill set).