% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MFRCD.R
\name{mfrcd}
\alias{mfrcd}
\title{Generate a mixed-level factorial row-column design}
\usage{
mfrcd(
  levels,
  block_size = NULL,
  sep = "",
  details = FALSE,
  check_properties = FALSE,
  use_mixedfact = TRUE,
  mixedfact_method = "auto",
  choose_block = "best",
  group1 = NULL,
  group2 = NULL,
  prefer = c("auto", "direct", "mixedfact"),
  tol = 1e-07
)
}
\arguments{
\item{levels}{Integer vector of factor levels.}

\item{block_size}{Block size used in the construction.}

\item{sep}{Character separator used in treatment labels.}

\item{details}{Logical; if TRUE, return construction details.}

\item{check_properties}{Logical; if TRUE, compute design-property diagnostics.}

\item{use_mixedfact}{Logical; if TRUE, allow the mixedfact-based construction route.}

\item{mixedfact_method}{Method passed to mixedfact when that route is used.}

\item{choose_block}{Rule for choosing a block when several are available.}

\item{group1}{Optional integer vector of factor indices in the first group.}

\item{group2}{Optional integer vector of factor indices in the second group.}

\item{prefer}{Construction route preference.}

\item{tol}{Numerical tolerance.}
}
\value{
A list, matrix, data frame, or classed object containing the requested row-column design information.
}
\description{
Generate a mixed-level factorial row-column design.
}
\examples{
d <- mfrcd(c(2, 2))
stopifnot(is.matrix(d))
}
