horiz_eyes: Make eyes horizontal

Description Usage Arguments Value Examples

View source: R/rotate.R

Description

Make eyes horizontal

Usage

1
2
3
4
5
6
7
horiz_eyes(
  stimuli,
  left_eye = 0,
  right_eye = 1,
  fill = webmorph_options("fill"),
  patch = FALSE
)

Arguments

stimuli

list of class stimlist

left_eye

The first point to align (defaults to 0)

right_eye

The second point to align (defaults to 1)

fill

background color to pass to rotate

patch

whether to use the patch function to set the background color

Value

stimlist with rotated tems and/or images

Examples

1
demo_stim("lisa") %>% horiz_eyes() %>% plot()

facelab/webmorph documentation built on April 11, 2021, 6:34 a.m.