Description Usage Arguments Value Examples
Generates counterbalanced presentation lists for factorially designed experiments involving stimulus presentation
1 | stim_lists(design_args, as_one = TRUE)
|
design_args |
A list describing the experimental design, which
must have an element |
as_one |
boolean (default |
a single data.frame
(default) with each list
identified by list_id
or a list
of dataframes,
depending on the value of as_one
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | stim_lists(list(ivs = c(A = 2, B = 2))) # 2x2 within-subjects within-item
stim_lists(list(ivs = c(A = 2, B = 2, n_item = 16))) # same but w/more items
stim_lists(list(ivs = c(A = 2, B = 2, n_item = 16, n_rep = 3)))
# mixed by subject, fully within by item
stim_lists(list(ivs = list(group = c("adult", "child"),
task = c("easy", "hard")),
between_subj = "group",
n_item = 12))
# mixed by subject, mixed by item
stim_lists(list(ivs = c(A = 2, B = 2),
between_subj = "A",
between_item = "B"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.