Learn R Programming

graphonmix (version 0.0.1.0)

line_graphon: Creates a line graphon from a sequence of probabilities

Description

Creates a line graphon, which is a disjoint clique graphon from a sequence of probability values

Usage

line_graphon(probs)

Value

The line graphon

Arguments

probs

The list of probabilities starting from the largest.

Examples

Run this code
library(ggplot2)
wts <- c(0.5, 0.3, 0.2)
U <- line_graphon(wts)
plot_graphon(U)

Run the code above in your browser using DataLab