selecting with counter and repeating prior to moving to next selection


selecting with counter and repeating prior to moving to next selection...
Author
Message
Teresa
Teresa
Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)
Group: Forum Members
Posts: 3, Visits: 1

Hi all,


I am currently attempting to present subject and behavior object pairs. There are four subjects and eight behaviors. Each subject should be presented with each of the eight behaviors five different times (for a total of 40 behaviors paired with each subject). I would like to randomly select one of the 4 subjects and then have that subject repeat 40 times with the behaviors randomly selected before the program moved to the next subject.


I've figured out how to pair it so that the 8 behaviors are randomly selected and paired with each subject, but only with sequential subject ordering. I can't figure out how to randomly select the order of the four subjects.


My current code:


<counter subjectselector>
/items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4)
/select = sequence
</counter>

<counter behaviorselector>
/items = (1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8)
/select = noreplace
</counter>


Thanks!


Teresa


Tags
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search