An R package for generating and analyzing respondent-driven sampling referral trees/chains rdssim Reference manual Install using the devtools package. It requires the version of cpp compiler supports c++11 standards, for instance, GNU GCC (>=4.7). install.packages("devtools") require(devtools) install_github("khabbazian/rdssim") require(rdssim) Windows users will first need to install Rtools.