measure_infection {manynet}R Documentation

Measures of network infection

Description

These functions allow measurement of various features of a diffusion process at the network level:

Usage

net_infection_complete(diff_model)

net_infection_total(diff_model, normalized = TRUE)

net_infection_peak(diff_model)

Arguments

diff_model

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

normalized

Logical scalar, whether the centrality scores are normalized. Different denominators are used depending on whether the object is one-mode or two-mode, the type of centrality, and other arguments.

See Also

Other measures: between_centrality, close_centrality, degree_centrality, eigenv_centrality, measure_attributes, measure_closure, measure_cohesion, measure_features, measure_heterogeneity, measure_hierarchy, measure_holes, measure_net_diffusion, measure_node_diffusion, measure_periods, measure_properties, member_diffusion

Other diffusion: measure_net_diffusion, measure_node_diffusion, member_diffusion, play

Examples

  smeg <- generate_smallworld(15, 0.025)
  smeg_diff <- play_diffusion(smeg, recovery = 0.2)
  net_infection_complete(smeg_diff)
  net_infection_total(smeg_diff)
  net_infection_peak(smeg_diff)

[Package manynet version 1.0.2 Index]