motif_diffusion function

Motifs of diffusion

Motifs of diffusion

  • node_by_exposure() produces a motif matrix of nodes' exposure to infection/adoption by time step
node_by_exposure(diff_model)

Arguments

  • diff_model: A valid network diffusion model, as created by as_diffusion() or play_diffusion().

See Also

Other motifs: motif_brokerage, motif_net, motif_node

  • Maintainer: James Hollway
  • License: MIT + file LICENSE
  • Last published: 2024-11-05