% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lfebd3.R
\name{canonical_effect}
\alias{canonical_effect}
\title{Canonicalize a mod-3 effect vector}
\usage{
canonical_effect(v)
}
\arguments{
\item{v}{Numeric vector encoding an effect in mod 3 arithmetic.}
}
\value{
A canonicalized numeric vector in mod 3.
}
\description{
Standardizes a nonzero effect vector so that its first nonzero coefficient
is equal to `1` in mod-3 arithmetic.
}
\seealso{
[effect_label()], [find_defining_contrasts()]
}
\keyword{internal}
