feasRDS.rdssample: Perform Respondent Driven Sampling (RDS)

Description Usage Arguments Value

Description

Perform Respondent Driven Sampling (RDS)

Usage

1
2
3
4
5
feasRDS.rdssample(net, nnodes = network.size(net), nsamp0, nsamp,
  replace = FALSE, coupons, seed.distribution = NULL,
  seed.composition = NULL, seed.composition.by = NULL,
  trait.variable = "disease", recruitment.rates = NULL,
  recruitment.rates.by = NULL)

Arguments

net

Network to Perform RDS On

nnodes

Number of Nodes in Network to Perform RDS Sample On

nsamp0

Number of Seeds

nsamp

Goal Sample Size (Is it a problem that we're approaching this as getting a certain size sample?)

replace

Allow Replacement

coupons

Number of Coupons Each Sampled Person Gets

seed.distribution

Probabilities of being selected as seed if not 1/degree (default)

seed.composition

Seed counts by variable

seed.composition.by

Variable differentiating seed counts

trait.variable

"Outcome" of Interest, Needs to be Binary (Diseased = 1)

recruitment.rates

If Not Null, Variable Recruitment Rates for Number of Coupons (Matrix with # of rows = # of "recruitment.rates.by" levels, 2 columns for willingness to spread and willingness to participate named "S" and "C", row names = levels of "recruitment.rates.by")

recruitment.rates.by

Variable Differentiating Differential Recruitment There is Differential Recruitment

Value

RDS object


maryclare/feasRDS documentation built on May 3, 2019, 5:19 p.m.