% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lfebd3.R
\name{build_block_matrix}
\alias{build_block_matrix}
\title{Build a treatment-by-block incidence matrix}
\usage{
build_block_matrix(blocks)
}
\arguments{
\item{blocks}{Named or unnamed list of blocks, where each block is a vector
of treatment labels.}
}
\value{
A binary matrix with treatments in rows and blocks in columns.
}
\description{
Creates the incidence matrix for a block design from a list of treatment
labels grouped by block.
}
\seealso{
[convert_to_blocks()], [FactChar()]
}
