Skip to contents

The hops used by a set of optimal temporal paths, as a node-link diagram with Dynet's rendering defaults; any cograph::splot() argument overrides them.

Usage

# S3 method for class 'dynet_path_network'
plot(x, palette = "okabe", ...)

Arguments

x

A result from path_network().

palette

Palette specification, as in plot.dynet().

...

Passed to cograph::splot().

Value

x, invisibly.

Examples

dn <- dynet(school_contacts)
routes <- paths(dn, from = "Ana")
route_network <- path_network(routes)
plot(route_network, layout = "oval")