This function obtains a labeled snowball with multiple inclusions (LSMI) sample, starting from a single network node called seed. See Figure 1 by \insertCitethompson_etal_2016;textualsnowboot illustrating the algorithm of sampling around one seed.
sample_about_one_seed(net, seed, n.wave = 1)
a network object that is a list containing:
The network object can be simulated by
numeric ID of a seed to start the LSMI.
an integer defining the number of waves (order of the neighborhood)
to be recorded around the seed in the LSMI. For example,
sample_about_one_seed returns a list of length
n.wave + 1
containing ID of the seed (1st element of the output list), IDs of nodes in the
1st wave (2nd element of the list), ..., IDs of nodes in the wave
n.wave + 1)th element of the list). If a wave has no nodes in it, the
corresponding element of the output contains
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.