% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forest_utils.R
\name{is_reference_category}
\alias{is_reference_category}
\title{Check if category name is a standard reference/negative value}
\usage{
is_reference_category(
  category,
  label = NULL,
  norm_category = NULL,
  norm_label = NULL
)
}
\arguments{
\item{category}{Character string with the category name.}

\item{label}{Optional character string with the variable label. If provided,
checks if category is "No [label]" or similar patterns.}

\item{norm_category}{Optional pre-normalized category (lowercase, trimmed).
If provided, skips normalization for performance.}

\item{norm_label}{Optional pre-normalized label (lowercase, trimmed).
If provided, skips normalization for performance.}
}
\value{
Logical indicating whether category is a reference/negative value.
}
\description{
Determines whether a category name represents a standard reference or negative
value that indicates absence. Used to suppress redundant category names when
condensing binary variables.
}
\keyword{internal}
