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

OwenSims/networkR documentation built on May 7, 2019, 11:47 p.m.