Produces a pedologist-facing report from one or more
ClassificationResult objects, optionally including the
source PedonRecord. The HTML output is fully
self-contained (single file, inline CSS); the PDF output goes through
rmarkdown::render() and therefore requires a working LaTeX
install (or one of the alternative engines accepted by
rmarkdown).
Usage
report(
x,
file,
format = c("auto", "html", "pdf"),
pedon = NULL,
title = NULL,
...
)Arguments
- x
A
ClassificationResult, a list ofClassificationResults, or aPedonRecord(in which case all three keys are run automatically).- file
Output path. The format is inferred from the extension (
.htmlor.pdf) unlessformatis given explicitly.- format
One of
"auto","html","pdf".- pedon
Optional
PedonRecord; when provided, its horizons table and provenance log are included.- title
Optional report title.
- ...
Passed to method-specific renderers.
