LSMI(net, n.seeds = 10, n.neigh = 1, seeds = NULL)
local.network.MR.new5
or
it can be imported.num.sam
x n.seeds
containing the
numeric ids of the seeds to initiate sampling. Each row of the matrix
corresponds to one LSMI sample. Note that this is an optional parameter.
WARNING: As of now, this numeric
a vector containing the numeric ids of
sampled seeds.numeric
vector containing ids of the nodes from
the snowball sampling and the intial seeds' ids. This vector may have
duplicates, since the algorithm allows for multiple inclusions.n.seeds
where each element is a
numeric
vector containing the seed's id and
the unique ids of all nodes that were snowball sampled from
that seed using sample_about_one_seed
(one vector per seed).n.seeds
where each element is
a list of length n.neigh
(Note: these lists are the output
object $nodes.waves
from
sample_about_one_seed
) that contains vectors of
numeric id's of the nodes reached in each respective wave from the
respective seed.net <- artificial_networks[[1]]
a <- LSMI(net, n.seeds = 20, n.neigh = 2)
Run the code above in your browser using DataLab