measure_diffusion_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(.data)

net_infection_total(.data, normalized = TRUE)

net_infection_peak(.data)

Arguments

.data

Network data with nodal changes, as created by play_diffusion(), or a valid network diffusion model, as created by as_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: measure_attributes, measure_central_between, measure_central_close, measure_central_degree, measure_central_eigen, measure_closure, measure_cohesion, measure_diffusion_net, measure_diffusion_node, measure_features, measure_heterogeneity, measure_hierarchy, measure_holes, measure_periods, measure_properties, member_diffusion

Other diffusion: make_play, measure_diffusion_net, measure_diffusion_node, member_diffusion

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.5.1 Index]