\Header{unname}{Remove `names' or `dimnames'}
\keyword{utilities}{unname}
\begin{Description}\relax
Remove the \code{\Link{names}} or \code{\Link{dimnames}} attribute of
an \R{} object.
\end{Description}
\begin{Usage}
\begin{verbatim}
unname(obj, force = FALSE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{obj}] the \R{} object which is wanted \dQuote{nameless}.
\item[\code{force}] logical; if true, the \code{dimnames} are even removed
from \code{\Link{data.frame}}s.
\emph{This argument is currently \bold{experimental} and hence
might change!}
\end{ldescription}
\end{Arguments}
\begin{Value}
Object as \code{obj} but without \code{\Link{names}} or
\code{\Link{dimnames}}.
\end{Value}
\begin{Examples}
\begin{ExampleCode}
## Answering a question on R-help (14 Oct 1999):
col3 <- 750+ 100* rt(1500, df = 3)
breaks <- factor(cut(col3,breaks=360+5*(0:155)))
z <- table(breaks)
z[1:5] # The names are larger than the data ...
barplot(unname(z), axes= FALSE)
\end{ExampleCode}
\end{Examples}

