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

35 lines
1.1 KiB
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{plot_precip_hex_comparison}
\alias{plot_precip_hex_comparison}
\title{Plot Annual Rainfall Comparison (Clipped Hexes)}
\usage{
plot_precip_hex_comparison(
wa_data,
ga_data,
boundaries,
bins = 30,
max_limit = 2500
)
}
\arguments{
\item{wa_data}{Dataframe containing Washington data (requires 'precip_annual', 'lat', 'lon').}
\item{ga_data}{Dataframe containing Georgia data (requires 'precip_annual', 'lat', 'lon').}
\item{boundaries}{An \code{sf} object containing state boundaries.}
\item{bins}{Integer. Number of hexes across the state width. Default is 30.}
\item{max_limit}{Numeric. The visual cap for rainfall (mm) to ensure comparable scales. Default is 2500.}
}
\value{
A \code{patchwork} object containing the side-by-side comparison.
}
\description{
Creates a polished side-by-side comparison of annual precipitation.
Hexagons are spatially generated and clipped to the exact state boundaries
to eliminate "bleeding" edges. Uses \code{theme_forestry_void} with explicit
font sizing to match topographic maps.
}