strength.dist.plot: Plot strength distribution of a network

Description Usage Arguments Value Examples

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

Description

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

Usage

1
2
strength.dist.plot(edgelist, type = "out", by = 1, alpha = 0.5,
  fit.line = TRUE)

Arguments

edgelist

The input edge list.

type

Option 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.

by

number: increment of the sequence

alpha

Default is 0.5.

Value

Plot of strength distribution of the specified network.

Examples

1
2
3
4
5
g <- barabasi.game(1000, directed = FALSE)
edg <- get.edgelist(g)
edg = cbind(edg, runif(nrow(edg), 0, 1))
strength.dist(edg)
strength.dist.plot(edg)

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