degree.dist.plot: Plot degree distribution of network

Description Usage Arguments Value Examples

View source: R/degree.dist.plot.R

Description

This function plots the degree distribution of a network in the form of edge list.

Usage

1
degree.dist.plot(edgelist, type = "out", fit.line = TRUE)

Arguments

edgelist

The input weighted edge list.

type

Option that indicating whether out- or in-measures to be calculated. The default is "out". The setting is irrelevant for undirected networks, but it must be specified.

Value

Plot of degree distribution of the specified network.

Examples

1
2
3
4
g <- barabasi.game(1000, directed = FALSE)
edg <- get.edgelist(g)
degree.dist(edg)
degree.dist.plot(edg)

hangxiong/wNetwork documentation built on May 17, 2019, 2:28 p.m.