Description Usage Arguments Details Value Examples
The function restructures a matrix
and extends its current limits to a range defined by a names attribute
1 |
x |
The matrix to be restructured. |
cols |
Column names guiding the restructuring. |
rows |
Row names guiding the restructuring. |
This is essentially a subsetting function that allows you to subset even when the rownames or colnames vector extends beyond the bounds of a matrix and traditional subsetting methods result in the notorious 'out of bounds' error.
A matrix with extended bounds.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.