plot_sparse_matrix: Plot the sparsity structure of a spam matrix object using...

View source: R/plot_sparse_matrix.R

plot_sparse_matrixR Documentation

Plot the sparsity structure of a spam matrix object using ggplot2

Description

Plot the sparsity of a spam matrix object using ggplot2

Usage

plot_sparse_matrix(x, tile_size = 1, base_size = 12, title = NULL)

Arguments

x

The sparse matrix which must be of class "spam"

tile_size

The size of the ggplot2 tile

base_size

The base size for the plot

title

The title for the plot

Value

A ggplot of the sparse matrix structure of a matrix of class "spam"


jtipton25/BayesMRA documentation built on Feb. 28, 2024, 1:27 p.m.