as_cumulative_edgelist {EpiModel}R Documentation

Convert an object to a cumulative_edgelist

Description

Convert an object to a cumulative_edgelist

Usage

as_cumulative_edgelist(x)

Arguments

x

An object to be converted to a cumulative edgelist

Details

The edges are active from time start to time stop included. If stop is NA, the edge was not disolved in the simulation that generated the list.

Value

A cumulative_edgelist object, a data.frame with at least the following columns: head, tail, start, stop.


[Package EpiModel version 2.5.0 Index]