Respondent-Driven Sampling
Overview
Provides functionality for carrying out estimation with data collected using Respondent-Driven Sampling. This includes Heckathorn's RDS-I and RDS-II estimators as well as Gile's Sequential Sampling estimator. The package is part of the "RDS Analyst" suite of packages for the analysis of respondent-driven sampling data. See Gile and Handcock (2010) doi:10.1111/j.1467-9531.2010.01223.x, Gile and Handcock (2015) doi:10.1111/rssa.12091 and Gile, Beaudry, Handcock and Ott (2018) doi:10.1146/annurev-statistics-031017-100704.
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: RDS/R/bootstrap.contingency.test.R (.Names: 1) RDS/tests/testthat/test-estimators.R (.Label: 2, .Names: 1) RDS/tests/testthat/test-rds-II.R (.Names: 1) RDS/tests/testthat/test-rds-mc.R (.Names: 2, .Dim: 1, .Dimnames: 1) RDS/tests/testthat/test-rds-ss.R (.Names: 3, .Dim: 1, .Dimnames: 1) '.Names' should be changed to 'names'. '.Label' should be changed to 'levels'. '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE8 OK, 5 NOTE2026-09-08
- ERROR8 OK, 4 NOTE, 1 ERROR2026-09-07
- NOTE10 OK, 3 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 77 (1 internal)includes a package overview page
- Examples that run
- 68%23 run in a plain check · 9 never run · 2 hold no code
- Exported functions with examples
- 50%
- Documented parameters
- 97%
- Return-value docs
- 33%
- Help pages citing references
- 22%
Downloads
Dependencies
Installing RDS adds 75 packages (42 with compiled code, 82 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Previously maintained by W. Whipple Neely (0.01).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- archivedRemoved from CRAN2014-12-26requires 'rgexf' which has been archived
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- RR 3.0.0 released · 2013-04-03
Show 30 earlier eventsHide 30 earlier events
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 2.10.0
- 0.9-10
- 0.9-9
- 0.9-72023-08-20 · diff ↗
- 0.9-62023-02-10 · diff ↗
- 0.9-52023-01-14 · diff ↗
- 0.9-32021-03-29 · diff ↗
- 0.9-2
- 0.9-0
- 0.8-12017-12-01 · diff ↗
- 0.8-02017-09-16 · diff ↗ ·
added 9 exports
MA.estimates, RDS.HCG.estimates, bootstrap.contingency.test, bootstrap.incidence, cumulative.estimate, get.recruitment.time, has.recruitment.time, hcg.weights, impute.degree - 0.7-8
- 0.7-72016-07-21 · diff ↗
- 0.7-62016-03-26 · diff ↗
- 0.7-52016-02-23 · diff ↗
- 0.7-4
- 0.7-32015-09-20 · diff ↗ ·
removed 1 export
impute.degreeadded 2 exports
control.rds.estimates, impute.visibility - 0.7-22015-05-12 · diff ↗
- 0.7-12015-03-24 · diff ↗
- 0.72015-01-20 · diff ↗ ·
removed 3 exports
summary.svyglm, print.summary.svyglm.RDS, write.gephiadded 2 exports
get.number.of.recruits, impute.degree - 0.62014-05-07 · diff ↗ ·
removed 1 export
transition.counts.to.Markov.mleadded 10 exports
LRT.trend.test, LRT.trend, LRT.value.trend, RDS.compare.two.proportions, is.rds.interval.estimate, is.rds.interval.estimate.list, summary.svyglm, print.summary.svyglm.RDS, write.gephi, write.rdsat - 0.52013-11-28 · diff ↗ ·
removed 1 export
RDS.I.DS.estimatesadded 34 exports
as.rds.data.frame, assert.valid.rds.data.frame, bottleneck.plot, compute.weights, convergence.plot, count.transitions, differential.activity.estimates, get.h.hat, get.id, get.net.size, get.population.size, get.rid, get.seed.id, get.seed.rid, get.stationary.distribution, get.wave, gile.ss.weights, homophily.estimates, is.rds.data.frame, RDS.bootstrap.intervals, RDS.compare.proportions, rds.I.weights, RDS.SS.estimates, read.rdsat, read.rdsobj, rds.interval.estimate, reingold.tilford.plot, rid.from.coupons, show.rds.data.frame, transition.counts.to.Markov.mle and 4 more - 0.012009-04-22
- RR 2.9.0 released · 2009-04-17
Package metadata
- First published
- 2009-04-20
- Total releases
- 24 / 17 yrs
- License
- LGPL-2.1 OSI · relicensed from GPL-2 | GPL-3 in 0.5
- Minimum R
- ≥ 2.5.1
- Bundled data
- 129 KB / 4 files
- Download size
- 301 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RDS")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.