Learn R Programming

RDS (version 0.9-9)

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

Run this code
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