| plot.dynet_snapshot | R Documentation |
Plot how many ties each snapshot holds
## S3 method for class 'dynet_snapshot'
plot(x, base_size = 12, palette = "okabe", ...)
x |
A |
base_size |
Base font size. |
palette |
Palette specification, as in |
... |
Ignored. |
A ggplot object, faceted by session when the result carries one.
A result in which no tie is active raises an error of class
dynet_empty_result rather than drawing an empty panel.
dn <- dynet(school_contacts)
bins <- snapshots(dn)
plot(bins)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.