as.network.transmat: Converts transmat infection tree into a network object

Description Usage Arguments

View source: R/dendo.R

Description

Converts the edges of the infection tree described in the transmat object into a network object, copying in appropriate edge attributes for 'at', 'infDur', 'transProb', 'actRate', and 'finalProb' and constructing a vertex attribute for 'at'.

Usage

1
2
## S3 method for class 'transmat'
as.network(x, ...)

Arguments

x

an object of class transmat to be converted into a network object

...

unused


EpiModel documentation built on Feb. 2, 2022, 9:06 a.m.