Learn R Programming

sparsevar (version 0.0.3)

plotMatrix: Matrix plot

Description

Plot a sparse matrix

Usage

plotMatrix(M)

Arguments

M
the matrix to plot

Value

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