Create RDS samples with given characteristics
rdssampleC(
net,
nnodes = network.size(net),
nsamp0,
fixinitial,
nsamp,
replace,
coupons,
select = NULL,
bias = NULL,
rds.samp = NULL,
seed.distribution = NULL,
attrall = FALSE,
trait.variable = "disease",
nsims = 1,
seeds = NULL,
prob.network.recall = 1,
verbose = TRUE
)
A list with the following elements: nsample: vector of indices of sampled nodes wsample: vector of waves of each sampled node degsample: vector of degrees of sampled nodes attrsample: vector of attrs of sampled nodes toattr: vector of numbers of referrals to attrsd nodes tonoattr: vector of number of referrans to unattrsd nominators: recruiter of each sample
the network object from which to draw a sample
the number of nodes in the network [at least as default]
the number of seeds to be drawn (i.e. the size of the 0th wave of sampling)
a variable that indicates the distribution from which to draw the initial seeds, if the seeds variable is NULL and the seed.distribution variable is NULL
number of individuals in each RDS sample
sampling with replacement
number of coupons
not used
not used
not used
a variable [what kind?] that indicates the distribution from which to draw the initial seeds
Whether all the information about the sample should be returned [??]
attribute of interest
number of RDS samples to draw
an array of seeds. Default is NULL, in which case the function draws the seeds from the nodes of the network.
simulates the probability that an individual will remember any particular link
Print verbose output