Skip to contents

Computes empirical graphon given a graph

Usage

empirical_graphon(gr, n = NULL)

Arguments

gr

A graph

n

Dimension of the graphon matrix

Value

The empirical graphon

Examples

library(igraph)
gr <- sample_gnp(1000, p=0.2)
emp <-  empirical_graphon(gr, n = 100)