as.network.transmat | R Documentation |
Converts a transmission matrix from the get_transmat
function into a network::network
class object.
## S3 method for class 'transmat'
as.network(x, ...)
x |
An object of class |
... |
Unused. |
When converting from a transmat
to a network
object, this
functions copies the edge attributes within the transmission matrix
('at'
, 'infDur'
, 'transProb'
, 'actRate'
, and
'finalProb'
) into edge attributes on the network.
A network::network
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.