| createGroups {iMRMC} | R Documentation | 
Assign a group label to items in a vector
createGroups(items, nG)
| items | A vector of items | 
| nG | The number of groups | 
A data frame containing the items and their group labels
x <- paste("item", 1:10, sep = "")
df <- createGroups(x, 3)
print(df)