unname | R Documentation |
names
or dimnames
Remove the names
or dimnames
attribute of
an R object.
unname(obj, force = FALSE)
obj |
an R object. |
force |
logical; if true, the |
Object as obj
but without names
or
dimnames
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.