Learn R Programming

ernm (version 1.0.4)

calculateStatistics: Calculate network statistics

Description

Calculates all network statistics

Usage

calculateStatistics(formula)

Value

a named vector of statistics

Arguments

formula

An ernm formula (see ernm-formula)

Examples

Run this code
if (FALSE) {
data(samplike)
calculateStatistics(samplike ~ edges() +
 nodeCount("group") +
 nodeMatch("group") +
 homophily("group") +
 triangles())
}

Run the code above in your browser using DataLab