View source: R/path-trajectory.R
| plot.dynet_path_trajectories | R Documentation |
A method wrapper so plot() works on the result directly. It draws exactly
what plot_path_trajectories() draws; that function remains the place where
the appearance arguments are documented.
## S3 method for class 'dynet_path_trajectories'
plot(x, ...)
x |
A |
... |
Passed to |
A ggplot object.
dn <- dynet(school_contacts)
routes <- paths(dn, from = "Ana")
trajectories <- path_trajectories(routes)
plot(trajectories)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.