plot_matrix: Matrix plot

View source: R/plotMatrix.R

plot_matrixR Documentation

Matrix plot

Description

Plot a sparse matrix

Usage

plot_matrix(m, colors)

Arguments

m

the matrix to plot

colors

dark or light

Value

An image plot with a particular color palette (black zero entries, red for the negative ones and green for the positive)


sparsevar documentation built on Feb. 5, 2026, 1:07 a.m.