Skip to contents

Creates an graphon which can generate ring graphs.

Usage

ring_graphon(n, alpha = 0.1)

Arguments

n

The dimension of the matrix

alpha

A scaling factor used in the graphon. Default set to 0.1

Value

An nxn matrix

Examples

# example code
W <- ring_graphon(100)
plot_graphon(W)