Learn R Programming

graphonmix (version 0.0.1.0)

plot_graphon: Plots graphon

Description

Plots graphon

Usage

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

Value

A ggplot object.

Arguments

W

A graphon given by an nxn matrix

cols

Colors, by default white and black

Examples

Run this code
W <- create_exp_matrix(100, 100)
plot_graphon(W)

Run the code above in your browser using DataLab