\HeaderA{unname}{Remove `names' or `dimnames'}{unname}
\keyword{utilities}{unname}
\begin{Description}\relax
Remove the \code{\LinkA{names}{names}} or \code{\LinkA{dimnames}{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}] an \R{} object.
\item[\code{force}] logical; if true, the \code{dimnames} are even removed
from \code{\LinkA{data.frame}{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{\LinkA{names}{names}} or
\code{\LinkA{dimnames}{dimnames}}.
\end{Value}
\begin{Examples}
\begin{ExampleCode}
require(graphics); require(stats)

## 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}

