\Header{t}{Matrix Transpose}
\alias{t.default}{t}
\alias{t.data.frame}{t}
\keyword{array}{t}
\begin{Usage}
\begin{verbatim}
t(x)
\end{verbatim}
\end{Usage}
\begin{Description}
Given a matrix or \texttt{\Link{data.frame}} \texttt{x},
\texttt{t} returns the transpose (matrix or data.frame) of \texttt{x}.\end{Description}
\begin{Examples}
\begin{ExampleCode}
a <- matrix(1:30, 5,6)
ta <- t(a) ##-- i.e.,  a[i,j] == ta[j,i] for all i,j :
for(j in seq(ncol(a)))
  if(! a[,j] == ta[j,]) stop("wrong transpose")
\end{ExampleCode}
\end{Examples}

