High-level classification entry point. Pre-computes the implemented
diagnostic horizons (argic, ferralic, mollic) for transparent
reporting, runs the key, and assembles a
ClassificationResult with the trace, ambiguities,
missing-data hints, evidence grade, and (in future) prior sanity
check.
Usage
classify_wrb2022(
pedon,
prior = NULL,
prior_threshold = 0.01,
on_missing = c("warn", "silent", "error"),
rules = NULL
)Arguments
- pedon
A
PedonRecord.- prior
Optional spatial prior – a
data.tablewith columnsrsg_codeandprobability, typically the return value ofspatial_prior. If supplied, the result records aprior_checkentry fromprior_consistency_check; an inconsistent prior also emits a warning. The deterministic key is NEVER overridden by the prior.- prior_threshold
Probability below which the prior triggers an "inconsistent" warning (default 0.01).
- on_missing
One of
"warn"(default),"silent","error". Behaviour when the trace reports missing attributes.- rules
Optional pre-loaded rule set.
