% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{plot_failure_mechanism} \alias{plot_failure_mechanism} \title{Plot Failure Mechanism Comparison} \usage{ plot_failure_mechanism(aoa_data, pred_data, boundaries) } \arguments{ \item{aoa_data}{Dataframe containing the AOA results (must have 'di', 'lon', 'lat').} \item{pred_data}{Dataframe containing prediction results (columns: .pred_class, forested, lon, lat).} \item{boundaries}{An \code{sf} object containing state boundaries (must include "GA" or "Georgia").} } \value{ A \code{patchwork} object containing the side-by-side comparison. } \description{ Creates a side-by-side diagnostic plot returning a patchwork object. (a) The Area of Applicability (Dissimilarity Index) showing where the model is extrapolating. (b) The spatial distribution of actual classification errors. }