edgecount: Count Edges in a 'networkLite'

network.edgecount.networkLiteR Documentation

Count Edges in a networkLite

Description

Count Edges in a networkLite

Usage

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

## S3 method for class 'networkLite'
network.naedgecount(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.

Value

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


networkLite documentation built on April 3, 2025, 11:08 p.m.