| as.data.frame.dynet_similarity | R Documentation |
Tidy table of time-bin similarity
## S3 method for class 'dynet_similarity'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
A result from |
row.names, optional |
Ignored; present for compatibility with the generic. |
... |
Ignored. |
A plain data.frame, one row per ordered pair of time bins, with
columns time, other, measure and value.
dn <- dynet(school_contacts)
resemblance <- similarity(dn, step = 4, window = 4)
as.data.frame(resemblance)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.