Skip to contents

Classifies SALI pedons (read_sali_pedons) with classify_asc3 and compares them with the surveyors' classification, with the metrics of benchmark_natsoil (which it calls): the order agreement over all pedons and over the decided ones (no order before the assigned one left undecided for missing data), the Arenosols of the 3rd edition counted as Tenosols or Rudosols in the edition figures, the suborders given the order, the great groups given the suborder and the subgroups given the great group. It adds a table by surveyed order and one by the ASC edition the report cites.

Usage

benchmark_sali(pedons, cores = 1L, verbose = TRUE, family = FALSE)

Arguments

pedons

A list of PedonRecord from read_sali_pedons.

cores

Number of processes (parallel::mclapply; always 1 on Windows).

verbose

Print a summary.

family

Also compare the families (see benchmark_natsoil; SALI labels carry no family codes, so this adds nothing yet).

Value

The list of benchmark_natsoil, plus by_order (by surveyed order: n, agree and decided_agree in per cent, decided, and soilKey's most frequent order, top_prediction) and by_edition (the same by the edition of the ASC reference, site$sali_asc_edition).