% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/panel_utils.R
\name{Lrange}
\alias{Lrange}
\title{Lag range operator for dcce formulas}
\usage{
Lrange(x, k0, k1)
}
\arguments{
\item{x}{A numeric vector.}

\item{k0}{Integer start lag (inclusive).}

\item{k1}{Integer end lag (inclusive).}
}
\value{
A matrix with columns \code{L[k0]} through \code{L[k1]}.
}
\description{
Creates multiple lagged versions of a variable from lag \code{k0} to lag \code{k1}.
Useful for distributed lag specifications.
}
\examples{
x <- c(10, 20, 30, 40, 50)
Lrange(x, 0, 2)   # 3 columns: lag 0, lag 1, lag 2
}
