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'.
1 2 | ## S3 method for class 'transmat'
as.network(x, ...)
|
x |
an object of class |
... |
unused |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.