Skip to content

Respondent-Driven Sampling

3packages depend
5.5Kdownloads / year
26.5%test coverage
8/13flavors OK

Overview

About

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

CRAN checks
5NOTE8OK
Check messages
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'.

CRAN check page ↗

Slowest check: 5.3 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.9-10
READMENoVignettesNoNEWSNoCitation fileYes · computed when R runs itWebsiteYes
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

5.5K
CRAN downloads in the past year
Rank #6,369 · ~15/day · ~460/mo
Daily download trend is not available in this view yet.
49630 days
1.3K90 days
5.5K1 year
Compare downloads with other packages →
Also on350 r2u8 autocran

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

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.

Depends (2)
R >= 2.5.1methods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect
Depends 1 · Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.5 (2013) · added in 0.5
Author · added in 0.5
Author · added in 0.5
Contributor

Previously maintained by W. Whipple Neely (0.01).

Releases (24)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • archivedRemoved from CRAN
    2014-12-26
    requires 'rgexf' which has been archived
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3Latest
    record
    2013-11-28 · current release · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
Show 30 earlier eventsHide 30 earlier events
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • 2.10.0
    record
    2009-04-20 · diff ↗ ·
    added 3 exports
    RDS.I.estimates, RDS.I.DS.estimates, RDS.II.estimates
  • 0.9-10
    record
    2024-09-06 · diff ↗ ·
    added 1 export
    hcg.replicate.weights
  • 0.9-9
    record
    2024-02-01 · diff ↗ ·
    added 1 export
    impute.visibility
  • 0.9-7
    record
    2023-08-20 · diff ↗
  • 0.9-6
    record
    2023-02-10 · diff ↗
  • 0.9-5
    record
    2023-01-14 · diff ↗
  • 0.9-3
    record
    2021-03-29 · diff ↗
  • 0.9-2
    record
    2019-12-14 · diff ↗ ·
    added 3 exports
    rdssampleC, set.control.class, ult
  • 0.9-0
    record
    2019-05-31 · diff ↗ ·
    removed 1 export
    impute.visibility
    added 1 export
    impute.visibility_mle
  • 0.8-1
    record
    2017-12-01 · diff ↗
  • 0.8-0
    record
    2017-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
    record
    2016-12-27 · diff ↗ ·
    added 1 export
    export.rds.interval.estimate
  • 0.7-7
    record
    2016-07-21 · diff ↗
  • 0.7-6
    record
    2016-03-26 · diff ↗
  • 0.7-5
    record
    2016-02-23 · diff ↗
  • 0.7-4
    record
    2015-12-29 · diff ↗ ·
    added 1 export
    as.char
  • 0.7-3
    record
    2015-09-20 · diff ↗ ·
    removed 1 export
    impute.degree
    added 2 exports
    control.rds.estimates, impute.visibility
  • 0.7-2
    record
    2015-05-12 · diff ↗
  • 0.7-1
    record
    2015-03-24 · diff ↗
  • 0.7
    record
    2015-01-20 · diff ↗ ·
    removed 3 exports
    summary.svyglm, print.summary.svyglm.RDS, write.gephi
    added 2 exports
    get.number.of.recruits, impute.degree
  • 0.6
    record
    2014-05-07 · diff ↗ ·
    removed 1 export
    transition.counts.to.Markov.mle
    added 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.5
    record
    2013-11-28 · diff ↗ ·
    removed 1 export
    RDS.I.DS.estimates
    added 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.01
    record
    2009-04-22
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RDS version 0.9-10 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy