MakeGroups | R Documentation |
Assign every student into groups with set number of students per group, with set number of iterations (overlap not considered)
MakeGroups(data, students_per_group, iterations, initial_matrix)
data |
a data frame |
students_per_group |
a positive integer |
iterations |
a positive integer |
initial_matrix |
matrix generated with 'initmat()' |
data frame
# Assign 9 students into 3 groups of 3, with 3 iterations
data <- GenerateData(9)
M <- initmat(data$Student)
MakeGroups(data, 3, 3, M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.