Learn R Programming

graphon (version 0.3.6)

gmodel.preset: Generate one of pre-specified graphons.

Description

gmodel.preset generates one of pre-specified graphons of size \((n \times n)\). Users can select one of 10 different graphons by their id, an integer from 1 to 10. The table of available graphons follows that of the reference article given below.

Usage

gmodel.preset(n, id = 1, sort = TRUE)

Value

an \((n\times n)\) graphon matrix.

Arguments

n

the number of nodes for a graphon to be generated.

id

an integer from 1 to 10, each corresponding to a specific graphon model.

sort

a logical value; TRUE to sort in an decreasing order of degree, FALSE otherwise.

References

chan2014graphon