% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{et_plot_calibration}
\alias{et_plot_calibration}
\title{Plot calibration: observed vs nominal coverage}
\usage{
et_plot_calibration(cal, group_col = NULL)
}
\arguments{
\item{cal}{A \code{data.frame} from \code{\link{et_calibrate}}.}

\item{group_col}{Optional character.  Name of a column in \code{cal} that
identifies sub-groups (e.g.\ \code{"species"}, \code{"cluster_id"}).
When \code{NULL} (default), \code{et_plot_calibration} uses the
\code{group} column if present; otherwise it auto-detects any single
non-canonical column with more than one unique value and treats it as
the grouping.  Set to \code{NA} to force a single un-grouped series.}
}
\value{
A \code{ggplot2} object.
}
\description{
A well-calibrated model produces points along the 1:1 diagonal.
Points above the diagonal indicate over-coverage (conservative);
below indicates under-coverage (anti-conservative).
}
