Description Usage Arguments Value Examples
Generate trial order so that the levels of the within-subject factor form an alternating sequence.
1 | shuffle_alt(n_subj, n_obs)
|
n_subj |
Number of subjects. |
n_obs |
Number of observations per subject. |
An unnamed list of length n_subj
, with each element
of that list being a vector of length n_obs
containing the
position number for each trial.
1 2 3 | shuffle_alt(4, 4)
sim_2x2(4, 4, rand_fn="shuffle_alt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.