% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MFRCD.R
\name{rc_factorial_n}
\alias{rc_factorial_n}
\title{Construct a mixed-level factorial row-column design}
\usage{
rc_factorial_n(levels, sep = "", details = FALSE, group1 = NULL, group2 = NULL)
}
\arguments{
\item{levels}{Integer vector of factor levels.}

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

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

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

\item{group2}{Optional integer vector of factor indices in the second group.}
}
\value{
A list, matrix, data frame, or classed object containing the requested row-column design information.
}
\description{
Construct a mixed-level factorial row-column design.
}
\examples{
ex <- rc_factorial_n(c(2, 2))
stopifnot(is.matrix(ex))
}
