Create a simple trial
trial_simple(cue, response, prompt = NULL, stimulus_duration = NULL, trial_duration = NULL, response_ends_trial = TRUE, ...)
cue | the cue type for the trial |
---|---|
response | the response type for the question |
prompt | prompt to be displayed with the stimulus (can include HTML markup) |
stimulus_duration | how long to display stimulus in milliseconds? (default is to remain until response) |
trial_duration | how long to wait for response in milliseconds? (default is to wait indefinitely) |
response_ends_trial | does the trial end with response (default = TRUE) or continue until trial duration reached? |
... | arguments to be passed to trial() |
A trial object