% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TCpRepEfficiency.R
\name{TCpRepEfficiency}
\alias{TCpRepEfficiency}
\title{Efficiency Measures for p-Rep Test-Control Designs}
\usage{
TCpRepEfficiency(design, test)
}
\arguments{
\item{design}{A design matrix containing test and
control treatments.}

\item{test}{Number of test treatments in the design.}
}
\value{
A data frame containing average variance
measures and the canonical efficiency factor.
}
\description{
Computes efficiency measures for partially replicated
(p-rep) test-control designs. The function calculates
average variances for test-versus-test and
test-versus-control comparisons, together with the
canonical efficiency factor.
}
\examples{
design <- matrix(c(
  1,6,11,"C1",
  2,5,12,"C1",
  3,8,9,"C1",
  4,7,10,"C1",
  1,7,12,"C1",
  2,8,11,"C1",
  1,8,10,"C1",
  2,7,9,"C1",
  3,6,12,"C1",
  4,5,11,"C1",
  3,5,10,"C1",
  4,6,9,"C1"
), byrow = TRUE, ncol = 4)

TCpRepEfficiency(design, test = 12)

}
