Skip to contents

The union of a network's ties over a window, as a node-link diagram with Dynet's rendering defaults; any cograph::splot() argument overrides them.

Usage

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

Arguments

x

A result from collapse_network().

palette

Palette specification, as in plot.dynet().

...

Passed to cograph::splot().

Value

x, invisibly.

Examples

dn <- dynet(school_contacts)
flat <- collapse_network(dn)
plot(flat, layout = "oval")