Learn R Programming

RDS (version 0.9-10)

count.transitions: Counts the number or recruiter->recruitee transitions between different levels of the grouping variable.

Description

Counts the number or recruiter->recruitee transitions between different levels of the grouping variable.

Usage

count.transitions(rds.data, group.variable)

Arguments

rds.data

An rds.data.frame

group.variable

The name of a categorical variable in rds.data

Examples

Run this code
data(faux)
count.transitions(faux,"X")

Run the code above in your browser using DataLab