Skip to contents

Plots graphon

Usage

plot_graphon(W, cols = c("white", "black"))

Arguments

W

A graphon given by an nxn matrix

cols

Colors, by default white and black

Value

A ggplot object.

Examples

W <- create_exp_matrix(100, 100)
plot_graphon(W)