powered by
Calculates the number of (direct) recuits for each respondent.
get.number.of.recruits(data)
An rds.data.frame
data(fauxmadrona) nr <- get.number.of.recruits(fauxmadrona) #frequency of number recruited by each id barplot(table(nr))
Run the code above in your browser using DataLab