setRowNames {BBmisc} | R Documentation |
Wrapper for rownames(x) = y
, colnames(x) = y
.
Description
Wrapper for rownames(x) = y
, colnames(x) = y
.
Usage
setRowNames(x, names)
setColNames(x, names)
Arguments
x |
[ |
names |
[ |
Value
Changed object x
.
Examples
setColNames(matrix(1:4, 2, 2), c("a", "b"))
[Package BBmisc version 1.13 Index]