View source: R/plot_sparse_matrix.R
plot_sparse_matrix | R Documentation |
Plot the sparsity of a spam matrix object using ggplot2
plot_sparse_matrix(x, tile_size = 1, base_size = 12, title = NULL)
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 |
A ggplot of the sparse matrix structure of a matrix of class "spam"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.