Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get.number.of.recruits

Calculates the number of (direct) recuits for each respondent.


Description

Calculates the number of (direct) recuits for each respondent.

Usage

get.number.of.recruits(data)

Arguments

data

An rds.data.frame

Examples

data(fauxmadrona)
nr <- get.number.of.recruits(fauxmadrona)
#frequency of number recruited by each id
barplot(table(nr))

RDS

Respondent-Driven Sampling

v0.9-3
LGPL-2.1
Authors
Mark S. Handcock [aut, cre], Krista J. Gile [aut], Ian E. Fellows [aut], W. Whipple Neely [aut]
Initial release
2021-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.