powered by
Remove all dimension names from an array for compact printing.
empty.dimnames(a)
an array, i.e., as special case a matrix.
array
Returns a with its dimnames replaced by empty character strings.
a
unname removes the dimnames.
unname
# NOT RUN { empty.dimnames(diag(5)) # looks much nicer (a <- matrix(-9:10, 4,5)) empty.dimnames(a) # nicer, right? # }
Run the code above in your browser using DataLab