
Defaults to mlabel()
unless you use arguments specific to gglabel()
. All arguments are vectorised over the stimuli and values are recycled or truncated if there are fewer or more than stimuli.
label(stimuli, ...)
list of stimuli
stimlist with labelled images
Visualisation functions
as_ggplot()
,
draw_tem()
,
gglabel()
,
mlabel()
,
plot.stimlist()
,
plot.stim()
,
plot_rows()
,
plot_stim()
# NOT RUN {
stimuli <- demo_stim()
# label with magick::image_annotate
label(stimuli,
text = c("CHINWE", "GEORGE"),
gravity = c("north", "south"),
color = "red")
# label with ggplot2::annotate
label(stimuli,
label = c("CHINWE", "GEORGE"),
x = 0.5,
y = c(0.99, 0.02),
vjust = c(1, 0),
size = 18,
color = "red")
# }
Run the code above in your browser using DataLab