Description Usage Arguments Details Value Author(s) Examples
View source: R/teamEmbeddedMaker.R
This function takes a vector of student names and creates groups.
1 | teamEmbeddedMaker(teamAssignment)
|
teamAssignmentData |
A data frame with student names (called "name") and teams (called "teams"). |
This is most useful for creating embedded data fields for Qualtrics. It is best to use the object returned from the groupMaker function.
This will return a data frame with the crossing of students for each group.
Seth Berry
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.