density: Density of a network

Description Usage Arguments Examples

Description

This function calculates the density of a network graph.

Usage

1
density(edgeList, nodeList, undirected = TRUE)

Arguments

edgeList

A dataframe of network data within which sources are in the first column and targets are in the second column.

nodeList

A dataframe within which all nodes and their respective names are listed.

undirected

Is the network graph undirected? TRUE or FALSE.

Examples

1

O1sims/networkR documentation built on May 31, 2019, 6:13 p.m.