Define an image cue
cue_image(stimulus, stimulus_height = NULL, stimulus_width = NULL, maintain_aspect_ratio = TRUE)
| stimulus | Image file, specified using the resource() function |
|---|---|
| stimulus_height | Image height in pixels (defaults to natural height) |
| stimulus_width | Image width in pixels (defaults to natural width) |
| maintain_aspect_ratio | Maintain aspect ratio (default = TRUE) |
An object of class xpt_cue