\HeaderA{blockDiag}{Block Diagonal Matrix}{blockDiag}
\keyword{array}{blockDiag}
\begin{Description}\relax
Form a block diagonal matrix from the given blocks.
\end{Description}
\begin{Usage}
\begin{verbatim}
blockDiag(...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] numeric matrices
\end{ldescription}
\end{Arguments}
\begin{Value}
A block diagonal matrix with dimensions equal to the sum of the input dimensions
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\LinkA{10.Other}{10.Other}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
a <- matrix(1,3,2)
b <- matrix(2,2,2)
blockDiag(a,b)
\end{ExampleCode}
\end{Examples}


