Description Usage Arguments Examples
add index column for neater colnames
1
addIndexColumnToMatrix(x)
x
matrix object
matrix
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)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.