The roctopus package offers functions for simulating, visualising, and analysing multilevel and multimode (especially two-mode) networks.


“The family - that dear octopus from whose tentacles we never quite escape, nor, in our inmost hearts, ever quite wish to.”“
Dodie Smith

The package includes a number of functions for simulating two-mode matrices with particular properties for use in testing and developing null models.

These include: create_lattice, create_poles, create_random


“The tentacles of today reach out like an octopus to swallow yesterday.”
Gladys Taber

The package also includes several functions for visualising two-mode matrices.

These include: plot_2x2, plot_globalnet, plot_multilevel, plot_twomode


“Talent without discipline is like an octopus on roller skates. There’s plenty of movement, but you never know if it’s going to be forward, backwards, or sideways.”
H. Jackson Brown, Jr.

Lastly, the package includes a range of functions for analysing two-mode matrices.

These include: twomode_2x2, twomode_centralization_between, twomode_centralization_degree, twomode_clustering, twomode_coherence, twomode_components, twomode_constraint, twomode_dominance, twomode_modularity, twomode_smallworld