incidentally: incidentally: Generates incidence matrices and bipartite...

incidentallyR Documentation

incidentally: Generates incidence matrices and bipartite graphs

Description

Functions to generate incidence matrices and bipartite graphs that have (1) a fixed fill rate, (2) given marginal sums, (3) marginal sums that follow given distributions, or (4) represent bill sponsorships in the US Congress. It can also generate an incidence matrix from an adjacency matrix, or bipartite graph from a unipartite graph, via a social process mirroring team, group, or organization formation.

Incidence matrices can be generated:

  • ...with a fixed fill rate: incidence.from.probability().

  • ...with given marginals: incidence.from.vector().

  • ...with marginals that follow given distributions: incidence.from.distribution().

  • ...from a network, by a social process mirroring team, group, or organization formation incidence.from.adjacency().

  • ...with a block structure or planted partition: add.blocks().

  • ...from US Congress bill sponsorships: incidence.from.congress().


incidentally documentation built on Feb. 16, 2023, 6:04 p.m.