Write a POPMAPS surface comparison report
Source:R/compare-surfaces.R
write_surface_comparison_report.Rdwrite_surface_comparison_report() writes the main tables, diagnostic plots,
and a small Markdown interpretation file from a
compare_popmaps_surfaces() result. It is designed for reproducible local
validation runs where users need durable artifacts to compare candidate
geographic, suitability, conductance, or resistance surfaces.
Usage
write_surface_comparison_report(
comparison,
dir = ".",
prefix = "surface-comparison",
include_tuning_results = TRUE,
overwrite = TRUE,
width = 1500,
height = 900,
res = 150
)Arguments
- comparison
A
popmaps_surface_comparisonobject returned bycompare_popmaps_surfaces().- dir
Output directory. Created recursively if needed.
- prefix
File prefix used for all report artifacts.
- include_tuning_results
Logical. If
TRUE, write one fulltune_popmaps()results CSV per candidate surface.- overwrite
Logical. If
FALSE, stop before replacing an existing output file.- width, height, res
PNG device settings for report figures.