% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lfebd3.R
\name{effect_order}
\alias{effect_order}
\title{Compute the order of an effect vector}
\usage{
effect_order(v)
}
\arguments{
\item{v}{Numeric vector encoding an effect in mod 3 arithmetic.}
}
\value{
Integer giving the number of active factors in the effect.
}
\description{
Counts the number of nonzero coefficients in a mod-3 effect vector.
}
\seealso{
[effect_label()], [canonical_effect()]
}
\keyword{internal}
