tedgelist_cumulative_degree: Cumulative Degree of Each Node in a Timed Edgelist

View source: R/degree.dist.R

tedgelist_cumulative_degreeR Documentation

Cumulative Degree of Each Node in a Timed Edgelist

Description

Cumulative Degree of Each Node in a Timed Edgelist

Usage

tedgelist_cumulative_degree(tedgelist, n, window, unique.partners = TRUE)

Arguments

tedgelist

A timed edgelist, as produced by networkDynamic::as.data.frame.networkDynamic.

n

Size of the network the edgelist was simulated on.

window

Length-2 numeric of the first and last time step to observe.

unique.partners

If TRUE, count distinct partners rather than distinct partnerships.

Value

An integer vector of length n, giving the number of partners each node has over window.


EpiModel documentation built on Oct. 16, 2026, 5:07 p.m.