% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/post_process_sarosplot_data.R
\name{process_binary_category_colors}
\alias{process_binary_category_colors}
\title{Process Binary Category Colors}
\usage{
process_binary_category_colors(
  data,
  showNA = "never",
  colour_2nd_binary_cat = NULL
)
}
\arguments{
\item{data}{Data frame containing the data with .category column}

\item{showNA}{Character indicating how to handle NA values}

\item{colour_2nd_binary_cat}{Color specification for second binary category}
}
\value{
Modified data frame with potentially reversed .category levels
}
\description{
Reverses the .category variable for binary categories when a special color
condition is met. This is specific to categorical plot functionality.
}
\keyword{internal}
