% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_linear.R
\name{effect_to_plm}
\alias{effect_to_plm}
\title{Map user-facing effect string to plm effect parameter}
\usage{
effect_to_plm(effect)
}
\arguments{
\item{effect}{Character scalar: one of `"individual"`, `"time"`,
`"two-way"`, `"nested"`.}
}
\value{
Character scalar accepted by `plm::plm()` for its `effect`
  argument: `"individual"`, `"time"`, or `"twoways"`.  For `"nested"`,
  the function stops with an informative message because `plm` does not
  support nested effects without additional data conventions.
}
\description{
Map user-facing effect string to plm effect parameter
}
\keyword{internal}
