Duh. I just figured out that though I was getting a warning, it was still doing the split anyway. Sorry for the dumb question.

-jason

Jason Priem wrote:
I have a list of participants in a study, identified by number. I want to randomly sort them into an arbitrary number of groups. split(sample(1:96, 96), 1:16)
almost does it, but it only works where the division is even.  Any ideas?
Thanks!

Jason Priem,
Doctoral Student,
School of Information and Library Science
University of North Carolina-Chapel Hill


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to