Package: RDS 0.9-10

RDS: Respondent-Driven Sampling

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>.

Authors:Mark S. Handcock [aut, cre], Krista J. Gile [aut], Ian E. Fellows [aut], W. Whipple Neely [ctb]

RDS_0.9-10.tar.gz
RDS_0.9-10.zip(r-4.5)RDS_0.9-10.zip(r-4.4)RDS_0.9-10.zip(r-4.3)
RDS_0.9-10.tgz(r-4.4-x86_64)RDS_0.9-10.tgz(r-4.4-arm64)RDS_0.9-10.tgz(r-4.3-x86_64)RDS_0.9-10.tgz(r-4.3-arm64)
RDS_0.9-10.tar.gz(r-4.5-noble)RDS_0.9-10.tar.gz(r-4.4-noble)
RDS_0.9-10.tgz(r-4.4-emscripten)RDS_0.9-10.tgz(r-4.3-emscripten)
RDS.pdf |RDS.html
RDS/json (API)

# Install 'RDS' in R:
install.packages('RDS', repos = c('https://handcock.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.99 score 1 stars 2 packages 81 scripts 518 downloads 18 mentions 61 exports 86 dependencies

Last updated 2 months agofrom:6c76a4695d. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-win-x86_64OKNov 06 2024
R-4.5-linux-x86_64OKNov 06 2024
R-4.4-win-x86_64OKNov 06 2024
R-4.4-mac-x86_64OKNov 06 2024
R-4.4-mac-aarch64OKNov 06 2024
R-4.3-win-x86_64OKNov 06 2024
R-4.3-mac-x86_64OKNov 06 2024
R-4.3-mac-aarch64OKNov 06 2024

Exports:as.charas.rds.data.frameassert.valid.rds.data.framebootstrap.contingency.testbootstrap.incidencebottleneck.plotcompute.weightscontrol.rds.estimatesconvergence.plotcount.transitionscumulative.estimatedifferential.activity.estimatesexport.rds.interval.estimateget.h.hatget.idget.net.sizeget.number.of.recruitsget.population.sizeget.recruitment.timeget.ridget.seed.idget.seed.ridget.stationary.distributionget.wavegile.ss.weightshas.recruitment.timehcg.replicate.weightshcg.weightshomophily.estimatesimpute.degreeimpute.visibilityimpute.visibility_mleis.rds.data.frameis.rds.interval.estimateis.rds.interval.estimate.listLRT.trendLRT.trend.testLRT.value.trendMA.estimatesRDS.bootstrap.intervalsRDS.compare.proportionsRDS.compare.two.proportionsRDS.HCG.estimatesRDS.I.estimatesrds.I.weightsRDS.II.estimatesrds.interval.estimateRDS.SS.estimatesrdssampleCread.rdsatread.rdsobjreingold.tilford.plotrid.from.couponsset.control.classshow.rds.data.frameultvh.weightswrite.graphvizwrite.netdrawwrite.rdsatwrite.rdsobj

Dependencies:anytimebackportsbase64encBHbslibcachemcheckmatecliclustercodacolorspacecpp11data.tableDEoptimRdigestergmevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsigraphisobandisotonejquerylibjsonliteknitrlabelinglatticelifecyclelpSolveAPImagrittrMASSMatrixmemoisemgcvmimemunsellnetworknlmennetnnlspillarpkgconfigplyrpurrrR6rappdirsrbibutilsRColorBrewerRcppRdpackreshape2rlangrlermarkdownrobustbaserpartrstudioapisassscalesstatnet.commonstringistringrtibbletinytextrustutf8vctrsviridisviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
indexing[,rds.data.frame-method [.rds.data.frame
indexing[<-,rds.data.frame-method [<-.rds.data.frame
converts to character with minimal loss of precision for numeric variablesas.char
Coerces a data.frame object into an rds.data.frame object.as.rds.data.frame
Does various checks and throws errors if x is not a valid rds.data.frameassert.valid.rds.data.frame
Performs a bootstrap test of independance between two categorical variablesbootstrap.contingency.test
Calculates incidence and bootstrap confidence intervals for immunoassay data collected with RDSbootstrap.incidence
Bottleneck Plotbottleneck.plot
Compute estimates of the sampling weights of the respondent's observations based on various estimatorscompute.weights
Named element accessor for ergm control lists$.control.list control.list.accessor
Auxiliary for Controlling RDS.bootstrap.intervalscontrol.rds.estimates
Convergence Plotsconvergence.plot
Counts the number or recruiter->recruitee transitions between different levels of the grouping variable.count.transitions
Calculates estimates at each successive wave of the sampling processcumulative.estimate
Differential Activity between groupsdifferential.activity.estimates
Convert the output of print.rds.interval.estimate from a character data.frame to a numeric matrixexport.rds.interval.estimate
A Simulated RDS Data Setfaux
A Simulated RDS Data Set with no seed dependencyfauxmadrona fauxmadrona.network
A Simulated RDS Data Set with extreme seed dependencyfauxsycamore fauxsycamore.network
A Simulated RDS Data Setfauxtime
Get Horvitz-Thompson estimator assuming inclusion probability proportional to the inverse of network.var (i.e. degree).get.h.hat
Get the subject idget.id
Returns the network size of each subject (i.e. their degree).get.net.size
Calculates the number of (direct) recuits for each respondent.get.number.of.recruits
Returns the population size associated with the data.get.population.size
Returns the recruitment time for each subjectget.recruitment.time
Get recruiter idget.rid
Calculates the root seed id for each node of the recruitement tree.get.seed.id
Gets the recruiter id associated with the seedsget.seed.rid
Markov chain statistionary distributionget.stationary.distribution
Calculates the depth of the recruitment tree (i.e. the recruitment wave) at each node.get.wave
Weights using Giles SS estimatorgile.ss.weights
RDS data.frame has recruitment time informationhas.recruitment.time
HCG parametric bootstrap replicate weightshcg.replicate.weights
homophily configuration graph weightshcg.weights
This function computes an estimate of the population homophily and the recruitment homophily based on a categorical variable.homophily.estimates
Imputes missing degree valuesimpute.degree
Estimates each person's personal visibility based on their self-reported degree and the number of their (direct) recruits. It uses the time the person was recruited as a factor in determining the number of recruits they produce.impute.visibility
Estimates each person's personal visibility based on their self-reported degree and the number of their (direct) recruits. It uses the time the person was recruited as a factor in determining the number of recruits they produce.impute.visibility_mle
Is an instance of rds.data.frameis.rds.data.frame
Is an instance of rds.interval.estimateis.rds.interval.estimate
Is an instance of rds.interval.estimate.list This is a (typically time ordered) sequence of RDS estimates of a comparable quantityis.rds.interval.estimate.list
Compute a test of trend in prevalences based on a likelihood-ratio statisticLRT.trend LRT.trend.null LRT.trend.test
Compute a test of trend in prevalences based on a likelihood-ratio statisticLRT.value.trend
MA EstimatesMA.estimates
Diagnostic plots for the RDS recruitment processplot.rds.data.frame
Prints an differential.activity.estimate objectprint.differential.activity.estimate
Displays a pvalue.tableprint.pvalue.table
Displays an rds.contin.bootstrapprint.rds.contin.bootstrap
Displays an rds.data.frameprint.rds.data.frame
Prints an 'rds.interval.estimate' objectprint.rds.interval.estimate
Summarizing Generalized Linear Model Fits with Odds Ratiosprint.summary.svyglm.RDS
RDS Bootstrap Interval EstimatesRDS.bootstrap.intervals
Compares the rates of two variables against one another.RDS.compare.proportions
Compares the rates of two variables against one another.RDS.compare.two.proportions
Homophily Configuration Graph EstimatesRDS.HCG.estimates
Compute RDS-I EstimatesRDS.I.estimates
RDS-I weightsrds.I.weights
RDS-II EstimatesRDS.II.estimates
An object of class rds.interval.estimaterds.interval.estimate
Gile's SS EstimatesRDS.SS.estimates
Create RDS samples with given characteristicsrdssampleC
Import data from the 'RDSAT' format as an 'rds.data.frame'read.rdsat
Import data saved using write.rdsobjread.rdsobj
Plots the recruitment network using the Reingold Tilford algorithm.reingold.tilford.plot
Determines the recruiter.id from recruitment coupon informationrid.from.coupons
Set the class of the control listset.control.class
Displays an rds.data.frameshow.rds.data.frame
Summarizing Generalized Linear Model Fits with Odds Ratios for Survey Datasummary.svyglm.RDS
calculates the mle. i.e. the row proportions of the transition matrixtransition.counts.to.Markov.mle
Extract or replace the *ult*imate (last) element of a vector or a list, or an element counting from the end.ult
Volz-Heckathorn (RDS-II) weightsvh.weights
writes an rds.data.frame recruitment tree as a GraphViz filewrite.graphviz
Writes out the RDS tree in NetDraw formatwrite.netdraw
Writes out the RDS tree in RDSAT formatwrite.rdsat
Export an rds.data.frame to filewrite.rdsobj