Learn R Programming

gettingtothebottom (version 3.2)

plot_nnm: MM Algorithm - Plot NNM

Description

plot_nnm Function for plotting nnm

Usage

plot_nnm(nnm)

Arguments

nnm
NNM object from generate_nnm function

Examples

Run this code
# Generate nonnegative matrix
n <- 1e3
p <- 10
nnm <- generate_nnm(n,p)

# Plot nonnegative matrix
plot_nnm(nnm)

Run the code above in your browser using DataLab