plot_degree.dist {streamDAG}R Documentation

Plot degree distributions

Description

Plots bserved degree distribution against models for uncorrelated random, chaotic and correlated random processes.

Usage


plot_degree.dist(G, mode = "all", exp.lambda = c(1.1, 3/2, 2), leg.loc = "topright")

Arguments

G

Graph object of class "igraph". See graph_from_literal

mode

Character string, one of "out" for out-degree, "in" for in-degree or "all" for the sum of the two. For undirected graphs this argument is ignored.

exp.lambda

log.lamda = if not NULL, allows specification of chaotic exp.lambda < 3/2 and correlated stochastic processes exp.lambda < 3/2

leg.loc

placement of legend,

Value

Plots processes for observed versus distributions under random or chaotic degrees.

Author(s)

Ken Aho

See Also

degree.dists, degree.distribution

Examples

network_a <- graph_from_literal(a --+ b, c --+ d, d --+ e, b --+ e, 
e --+ j, j --+ m, f --+ g, g --+ i, h --+ i, i --+ k, k --+ l, 
l --+ m, m --+ n,  n --+ o)
plot_degree.dist(network_a)

[Package streamDAG version 1.5 Index]