empty.dimnames | R Documentation |
Remove all dimension names from an array for compact printing.
empty.dimnames(a)
a |
an |
Returns a
with its dimnames replaced by empty character strings.
Bill Venables / Martin Maechler, Sept 1993.
unname
removes the dimnames.
empty.dimnames(diag(5)) # looks much nicer
(a <- matrix(-9:10, 4,5))
empty.dimnames(a) # nicer, right?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.