load_stim | R Documentation |
Load image sets as a stimlist, ready for processing with webmorphR functions. See Details below for citation links.
load_stim( set = c("neutral_front", "smiling_front", "3dsk", "composite", "canada", "lisa", "zoom", "rainbow"), pattern = NULL ) load_stim_canada(pattern = NULL) load_stim_london(pattern = NULL) load_stim_neutral(pattern = NULL) load_stim_zoom(pattern = NULL) load_stim_smiling(pattern = NULL) load_stim_composite(pattern = NULL) load_stim_lisa(pattern = NULL) load_stim_rainbow(pattern = NULL) load_stim_3dsk(pattern = NULL)
set |
name of the image set |
pattern |
Vector of patterns to use to search for files, or a vector of image indices |
neutral/smiling: CC-BY https://doi.org/10.6084/m9.figshare.5047666.v5
composite: CC-BY https://doi.org/10.6084/m9.figshare.4055130.v1
canada: CC-BY https://doi.org/10.6084/m9.figshare.4220517.v1
3dsk: https://doi.org/10.17605/OSF.IO/A3947, via https://www.3d.sk for educational use only
lisa/zoom: CC-0 images of the package creator
rainbow: see rainbow_info
for individual image credits
a list with class stimlist
# loads the first 5 images in the set stim <- load_stim("rainbow", 1:5) # loads all images with 3 digits and m canada_male <- load_stim("canada", "[0-9]{3}m")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.