colNameMatrix: colNameMatrix

View source: R/CodeAndRoll2.R

colNameMatrixR Documentation

colNameMatrix

Description

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

Usage

colNameMatrix(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.