| summary.dynet_metric | R Documentation |
Collapses the time dimension. Node-level measures are summarised one row per vertex and measure; graph-level measures one row per measure. The peak time is reported alongside, because when a quantity peaked is usually the question a temporal network is being asked.
## S3 method for class 'dynet_metric'
summary(object, by = NULL, ...)
object |
A |
by |
Grouping for the summary: |
... |
Ignored. |
A data.frame with the grouping columns plus n, mean, sd,
min, max and, when time is available, peak_time. n counts the
measured values the statistics were computed from, so a vertex that was
inactive for part of the calendar reports fewer than the number of time
points.
dn <- dynet(school_contacts)
degree <- centrality_series(dn, measure = "degree")
summary(degree)
summary(degree, by = "time")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.