addIndexColumnToMatrix: add index column for neater colnames...

Description Usage Arguments Examples

View source: R/utils.r

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)

OpenRepGrid documentation built on May 21, 2017, 12:48 a.m.

Search within the OpenRepGrid package
Search all R packages, documentation and source code