Description Usage Arguments Details Value References See Also Examples
Obtain LSMI samples around several seeds, which can be selected randomly or pre-specified. See Figure 1 by \insertCitegel_etal_2017;textualsnowboot or Figure 2 by \insertCitechen_etal_2018_snowboot;textualsnowboot illustrating the algorithm of sampling around multiple seeds.
1 |
net |
a network object that is a list containing:
The network object can be simulated by |
n.seed |
an integer defining the number of nodes to randomly sample from the network to start an LSMI sample around each of them. |
n.wave |
an integer defining the number of waves (order of the neighborhood)
to be recorded around the seed in the LSMI. For example, |
seeds |
a vector of numeric IDs of pre-specified seeds. If specified, LSMIs are constructed around each such seed. |
If seeds
specified, n.seed
is not used.
A list of length n.seed
(or, if seeds
are specified,
of length length(unique(seeds))
), where each element is a list
of length n.wave + 1
representing an LSMI produced by
sample_about_one_seed
.
sample_about_one_seed
, lsmi_union
1 2 | net <- artificial_networks[[1]]
a <- lsmi(net, n.seed = 20, n.wave = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.