as_cumulative_edgelist: Convert an object to a 'cumulative_edgelist'

View source: R/reachable.R

as_cumulative_edgelistR 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.


EpiModel documentation built on Oct. 12, 2024, 1:06 a.m.