node_in_adopter() classifies membership of nodes into diffusion categories by where on the distribution of adopters they fell. Valente (1995), after Rogers (2003), uses five memberships:

  • Early adopter: those with an adoption time less than the average adoption time minus one standard deviation of adoptions times

  • Early majority: those with an adoption time between the average adoption time and the average adoption time minus one standard deviation of adoptions times

  • Late majority: those with an adoption time between the average adoption time and the average adoption time plus one standard deviation of adoptions times

  • Laggard: those with an adoption time greater than the average adoption time plus one standard deviation of adoptions times

  • Non-adopter: those without an adoption time, i.e. never adopted

A node that is never active is out of the diffusion and has no membership (NA). These are the categories of Rogers (2003) by time of adoption, without innovators, whom the seeds stand in for: the seeds (time 0) are always early adopters.

node_in_adopter(.data, attribute = "diffusion")

Arguments

.data

A network object of class stocnet, igraph, tbl_graph, network, or similar. Internally any of these will be coerced to an efficient implementation. For more information on possible coercions, see e.g. manynet::as_stocnet().

attribute

Name of the nodal attribute that holds the diffusion, as its start state on the nodes and as its changes. By default "diffusion", as in play_diffusion().

Value

A node_member character vector the length of the nodes in the network, of group memberships "A", "B", etc for each node. If the network is labelled, then the assignments will be labelled with the nodes' names.

References

On adopter classes

Rogers, Everett M. 2003. Diffusion of innovations (5th ed.). New York: Free Press.

Valente, Tom W. 1995. Network models of the diffusion of innovations (2nd ed.). Cresskill N.J.: Hampton Press.

Examples

  smeg <- generate_smallworld(15, 0.025)
  smeg_diff <- play_diffusion(smeg, recovery = 0.2)
  # To classify nodes by their position in the adoption curve
  (adopts <- node_in_adopter(smeg_diff))
#> 4 groups
#>   V1     V2    V3    V4    V5    V6    V7    V8    V9    V10   V11   V12   V13  
#> 1 Early… Earl… Earl… Earl… Earl… Earl… Late… Late… Lagg… Lagg… Late… Earl… Earl…
#> # ... and 2 more values from this nodeset. Use `print_all(...)` to print all values.
  summary(adopts)
#> Class Early Adopter:  1
#> Class Early Majority:  2, 3, 4, 5, 6, 12, 13, 14, 15
#> Class Laggard:  9, 10
#> Class Late Majority:  7, 8, 11