R Package

RDSTools is an R package developed to assist 1) decision making processes for coupon counts and overall sample sizes with minimal assumptions; 2) handling RDS data to reflect the recruitment information (e.g., linking recruiters and recruits, recruitment waves) and to treat missingness of degrees; 3) various estimation methods beyond descriptive statistics with several variance estimation options; and 4) estimation of true network sizes. Note that #4 requires a UNIX operating system whereas the rest do not.

Steps to install the package:

  • Download RDSTools_0.1.0.tar.gz
  • Run this command to install the package from your working directory –
    install.packages(“path/to/RDSTools_0.1.0.tar.gz”, repos = NULL, type = “source”)
  • RDSTools relies on some functions from survey’ package, make sure to install the recent version of ‘survey’ package directly from R.
Scroll to Top