rowNameMatrix: rowNameMatrix

View source: R/CodeAndRoll2.R

rowNameMatrixR Documentation

rowNameMatrix

Description

Create a copy of your matrix, where every entry is replaced by the corresponding row name. Useful if you want to color by row name in a plot (where you have different number of NA-values in each row).

Usage

rowNameMatrix(mat_w_dimnames)

Arguments

mat_w_dimnames

A named matrix to copy from.


vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.