Set stimulus names in a stimlist
Usage
rename_stim(
stimuli,
new_names = NULL,
prefix = "",
suffix = "",
pattern = NULL,
replacement = NULL,
...
)
Arguments
- stimuli
A list of stimuli
- new_names
Vector of new names - must be the same length as the stimlist
- prefix
String to prefix to each name
- suffix
String to append to each name
- pattern
Pattern for gsub
- replacement
Replacement for gsub
- ...
Additional arguments to pass on to
base::gsub()