Files
forested/man/save_outlier_map_png.Rd
2026-02-10 04:52:37 -05:00

25 lines
887 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{save_outlier_map_png}
\alias{save_outlier_map_png}
\title{Save Outlier Diagnostic Map}
\usage{
save_outlier_map_png(data, boundary_sf, raster_path, output_path)
}
\arguments{
\item{data}{A data frame containing the analysis dataset (must include numeric columns and 'forested' factor).}
\item{boundary_sf}{An \code{sf} object representing the state boundary (e.g., Washington).}
\item{raster_path}{Character string. File path to the elevation raster (.tif).}
\item{output_path}{Character string. File path where the PNG will be saved.}
}
\value{
The \code{output_path} (invisible), for integration with \code{targets}.
}
\description{
Generates a diagnostic map highlighting multivariate outliers (Z > 3)
overlaid on a hillshaded elevation raster. Uses the standardized forestry theme.
}