% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lfebd3.R
\name{find_defining_contrasts}
\alias{find_defining_contrasts}
\title{Find defining contrasts for a fractional design}
\usage{
find_defining_contrasts(design_mat, expected_c = NULL)
}
\arguments{
\item{design_mat}{Design matrix whose rows correspond to treatment
combinations and whose columns correspond to factors.}

\item{expected_c}{Optional integer giving the expected number of defining
contrasts to retain.}
}
\value{
A list with components:
\describe{
  \item{basis}{A matrix whose columns form an independent basis of defining
  contrasts.}
  \item{labels}{Character vector of labels for the defining contrasts.}
}
}
\description{
Searches the effect space for mod-3 contrasts satisfied by a design matrix
and extracts an independent basis of defining contrasts.
}
\seealso{
[defining_subgroup()], [fractional_confounding_summary()], [lfbd.fr()]
}
\keyword{internal}
