Classifies NatSoil pedons with classify_asc3 and compares
the order with the one the surveyors gave (site$reference_asc_order).
A pedon is decided when no order before the assigned one was left
undecided for missing data; the agreement is given for all pedons and for
the decided ones. The surveys predate the 3rd edition's Arenosols (2021),
whose soils earlier editions placed in the Tenosols and Rudosols: the
edition figures count an Arenosol given to a surveyed Tenosol or
Rudosol as agreement.
Arguments
- pedons
A list of
PedonRecordfromload_natsoil_pedons.- cores
Number of processes (
parallel::mclapply; always 1 on Windows).- verbose
Print a summary.
- family
Also derive the families (
classify_asc3(include_family = TRUE)) and compare them (since 0.9.292).
Value
A list: n; accuracy and accuracy_edition;
decided (count), decided_accuracy and
decided_accuracy_edition; by_confidence (a data frame by
the surveyors' confidence, 1 = all necessary analytical data); recall
by surveyed order; confusion (rows the survey, columns soilKey);
first_undecided (the first order left undecided, among
provisional pedons); suborders, the same for the suborders where
the key has them (overall, and over the pedons whose order agrees);
great_groups, the same for the great groups (overall, and over the
pedons whose order and suborder agree); subgroups, the same for
the subgroups (over the pedons whose order, suborder and great group
agree); families (with family = TRUE), each family
criterion against the surveyors' family codes (site$reference_asc_family),
over the pedons whose order (and, for the Hydrosols, suborder) agrees;
and results, one row per pedon.
