glue_filenames_by: Glue filenames by glue string

View source: R/glue_filenames_by.R

glue_filenames_byR Documentation

Glue filenames by glue string

Description

Requires the glue package. Similar syntax to add_stimuli_by(), but here you're specifying a glue string for a particular stimulus. Glue strings utilize brackets to evaluate an expression within a string. In this case, you'll be replacing a label in brackets with its value in the completed_experiment data frame.

Usage

glue_filenames_by(design, ..., as_levels = FALSE)

Arguments

design

Experiment design

...

A list of formulas mapping stimuli to glue-formatted strings

as_levels

Whether to use the labels or integers representing each level

Details

This must be run after using fill_experiment.


tsostarics/stimulist documentation built on May 14, 2022, 6:49 p.m.