initial commit

This commit is contained in:
2026-02-10 04:52:37 -05:00
commit 0476f6f8f8
65 changed files with 15368 additions and 0 deletions

35
man/helper_save_fig.Rd Normal file
View File

@@ -0,0 +1,35 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{helper_save_fig}
\alias{helper_save_fig}
\title{Helper: Save Plot for Quarto Slide}
\usage{
helper_save_fig(
plot_obj,
name,
type = c("map", "plot"),
width = 10,
height = 6.18,
dpi = 300
)
}
\arguments{
\item{plot_obj}{The ggplot object to save.}
\item{name}{A short descriptive name (e.g., "wa_ecoregions").}
\item{type}{Either "map" or "plot". Adds this prefix to the filename.}
\item{width}{Width in inches (default: 10).}
\item{height}{Height in inches (default: 6.18).}
\item{dpi}{Resolution (default: 300).}
}
\value{
The full file path (invisibly).
}
\description{
Saves a ggplot object as a PNG, sized to fit comfortably
below a standard slide title, with robust font handling.
}