Change dimnames, rownames, or colnames
These functions provide an easy way to change the
1 2 3
An array with dimnames
A vector that indicates the dimensions
A sequence of named arguments
a logical value; if TRUE,
a logical value, passed to
logical; should a warning be issued if the pattern is not found?
dimrename changes the dimnames of
x along dimension(s)
dim according to the
remaining arguments. The argument names are the old
names, the values are the new names.
rowrename is a shorthand for changing the rownames,
colrename is a shorthand for changing the colnames of a matrix
or matrix-like object.
gsub is FALSE, argument tags are the old
dimnames, the values are the new
gsub is TRUE, arguments are substrings of the
that are substituted by the argument values.
x with changed dimnames.
1 2 3 4 5 6 7 8 9 10
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.