% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dcce.R
\name{.eval_formula_term}
\alias{.eval_formula_term}
\title{Evaluate a formula term}
\usage{
.eval_formula_term(expr, panel, unit_var, time_var)
}
\arguments{
\item{expr}{An expression (from formula).}

\item{panel}{A panel data.frame.}

\item{unit_var}{Character: unit variable name.}

\item{time_var}{Character: time variable name.}
}
\value{
Character vector of column name(s) created or referenced.
}
\description{
Handles plain variable names, \code{L()}, \code{D()}, and \code{Lrange()} calls.
Adds the computed column(s) to the parent panel in the calling
environment.
}
\keyword{internal}
