Skip to content

Random trial ordering #64

Discussion options

You must be logged in to vote

What is your definition of semi random? If you want them shuffled, you can use the.Shuffle() method when building your block. e.g. here:

https://github.com/immersivecognition/unity-experiment-framework/wiki/Factorial-design

block1.trials.Shuffle();

If you want them shuffled, but same for each participant, you can supply an RNG object, the number represents the 'seed':

var rand = new System.Random(12345); // pick a number to keep consistent
block1.trials.Shuffle(rand);

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Dawson-Petersen
Comment options

@jackbrookes
Comment options

@Dawson-Petersen
Comment options

Answer selected by jackbrookes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants