A number of waves to be sampled around each seed in LSMI.
For example, n.neigh = 0 corresponds to seeds only, and n.neigh = 1
corresponds to sampling seeds and their first neighbors).
Note that the algorithm allows for multiple inclusions.
Value
a list containing:
seed
seed0 num. Id of a seed to be sampled around.
sampleN
A vector of numeric ids of the nodes from
LSMI along with the original seed. This vector may have
duplicates, since the algorithm allows for multiple inclusions.
unode
A vector containing the unique values in $sampleN.
nodes.waves
A list of length n.neigh containing vectors where
each vector reports numeric ids of nodes sampled in a particular wave.
References
Thompson, M. E., Ramirez Ramirez, L. L., Lyubchich, V. and
Gel, Y. R. (2015), Using the bootstrap for statistical inference
on random graphs. Can J Statistics. doi: 10.1002/cjs.11271