| plot.dynet_similarity | R Documentation |
Draw time-bin similarity as a heatmap
## S3 method for class 'dynet_similarity'
plot(x, base_size = 12, ...)
x |
A result from |
base_size |
Base text size. Defaults to twelve. |
... |
Ignored. |
A ggplot object. Drawing happens when that object is printed, so
the plot is the return value here rather than a side effect.
dn <- dynet(school_contacts)
bin_similarity <- similarity(dn, step = 5, window = 5)
plot(bin_similarity)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.