Learn R Programming

networkLite (version 1.0.1)

network.edgecount.networkLite: Count Edges in a networkLite

Description

Count Edges in a networkLite

Usage

# S3 method for networkLite
network.edgecount(x, na.omit = TRUE, ...)

# S3 method for networkLite network.naedgecount(x, ...)

Value

The number of edges (of the appropriate type) in x.

Arguments

x

A networkLite object.

na.omit

logical; omit missing edges from edge count?

...

additional arguments

Details

The network.edgecount method provides a count of the number of edges in the networkLite, including missing edges if na.omit = FALSE and omitting them if na.omit = TRUE. The network.naedgecount method provides a count of the number of missing edges in the networkLite.