add index column for neater colnames...

Share:

Description

add index column for neater colnames

Usage

1

Arguments

x

matrix object

Examples

1
2
3
4
5
6
7
## Not run: 
x <- matrix(1:9, 3)
colnames(x) <- rep("Long names that occupiy too much space", 3)
rownames(x) <- rep("Some text", 3)
addIndexColumnToMatrix(x)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.