% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/post_process_sarosplot_data.R
\name{process_indep_factor_levels}
\alias{process_indep_factor_levels}
\title{Process Independent Variable Factor Levels}
\usage{
process_indep_factor_levels(data, indep = NULL)
}
\arguments{
\item{data}{Data frame containing the data}

\item{indep}{Character string naming the independent variable (or NULL)}
}
\value{
Modified data frame with reversed factor levels for unordered factors
}
\description{
Reverses factor levels for independent variables, but only for unordered factors.
Preserves the natural ordering of ordered factors.
}
\keyword{internal}
