Learn R Programming

EpiModel (version 2.6.2)

tedgelist_momentary_degree: Momentary Degree Distribution of a Timed Edgelist

Description

Momentary Degree Distribution of a Timed Edgelist

Usage

tedgelist_momentary_degree(tedgelist, n, window)

Value

A numeric vector of length n, giving the mean number of nodes per time step with degree 0 through n - 1 over window.

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.