bounds: Get template bounds

Description Usage Arguments Value Examples

View source: R/crop.R

Description

Get template bounds

Usage

1
bounds(stimuli, each = FALSE)

Arguments

stimuli

A stimlist

each

Whether to calculate max and min for the full set (default) or each image separately

Value

A list of min and max x and y values

Examples

1
2
3
demo_stim() %>% bounds() %>% str()

demo_stim() %>% bounds(each = TRUE)

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