| plot.dynet_pshifts | R Documentation |
One horizontal bar per shift type, grouped and coloured by family. Families are distinguished by a direct axis grouping as well as by fill, so the figure does not rely on colour alone.
## S3 method for class 'dynet_pshifts'
plot(x, ...)
x |
A |
... |
Ignored. |
A ggplot object.
dn <- dynet(school_contacts)
shifts <- pshifts(dn)
plot(shifts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.