teamEmbeddedMaker: Creates crossings for each group to upload into Qualtrics.

Description Usage Arguments Details Value Author(s) Examples

View source: R/teamEmbeddedMaker.R

Description

This function takes a vector of student names and creates groups.

Usage

1
teamEmbeddedMaker(teamAssignment)

Arguments

teamAssignmentData

A data frame with student names (called "name") and teams (called "teams").

Details

This is most useful for creating embedded data fields for Qualtrics. It is best to use the object returned from the groupMaker function.

Value

This will return a data frame with the crossing of students for each group.

Author(s)

Seth Berry

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

teamAssignment <- data.frame(name = c("Thomas", "Dirk", "John", "Brian", "Jenny", "Michael", 
"Bill", "Martin", "Douglas", "Hadley"), team = c(rep(1, 3), rep(2, 4), rep(3, 3)))

teamEmbeddedMaker(teamAssignment)


## End(Not run)

saberry/qualtricsR documentation built on Aug. 21, 2020, 5:55 p.m.