| as.data.frame.dynet_pathways | R Documentation |
Tidy data frame of ranked pathways
## S3 method for class 'dynet_pathways'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
what = c("routes", "steps"),
...
)
x |
A |
row.names |
Ignored; present for compatibility with the generic. |
optional |
Ignored; present for compatibility with the generic. |
what |
|
... |
Ignored. |
A plain data.frame with the columns described in pathways(),
most frequent first, or the per-step table when what = "steps".
dn <- dynet(school_contacts)
routes <- pathways(dn, from = "Ana")
as.data.frame(routes)
as.data.frame(routes, what = "steps")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.