add_info | R Documentation |
Add info with a data table that contains the info in either the same order as the stimulus list, or matching the stimuli item name with the column specified by .by
.
add_info(stimuli, ..., .by = NULL)
stimuli |
list of stimuli |
... |
data table or named vectors of info to add |
.by |
the column to use to match info to stimuli names; leave NULL if the data are to be matched by order |
You can also add data as named vectors.
list of stimuli with info added
Other info:
compare()
,
get_info()
,
get_point()
,
height()
,
metrics()
,
rename_stim()
,
width()
stimuli <- demo_stim() |> add_info(project = "XXX", gender = c("F", "M")) stimuli$f_multi$info |> str()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.