I have a list of people that I need to randomly assign to different tasks. Does anyone know how to do this? Here's what I have:
What I'm missing obviously is that there is no randomness yet.![]()
Please Login or Register to view this content.
I have a list of people that I need to randomly assign to different tasks. Does anyone know how to do this? Here's what I have:
What I'm missing obviously is that there is no randomness yet.![]()
Please Login or Register to view this content.
This routine will pick at random all members of the range between 1 and rmax
the use of the array sel() is to ensure that the choices are not repeated.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks