average_tem: Average templates

View source: R/average_tem.R

average_temR Documentation

Average templates

Description

This function just averages the templates. An average image is returned, but it is just all the images superimposed. To create a template-aware average, see avg().

Usage

average_tem(stimuli, name = "average")

Arguments

stimuli

list of stimuli

name

Name for the average

Value

list of stimuli consisting of just the average

See Also

Template functions auto_delin(), centroid(), change_lines(), delin(), draw_tem(), features(), get_point(), remove_tem(), require_tems(), same_tems(), squash_tem(), subset_tem(), tem_def(), viz_tem_def()

Examples

tem_only_avg <- demo_stim() |> average_tem()

# view the average template
draw_tem(tem_only_avg, bg = "white")

# view the superimposed image
tem_only_avg

webmorphR documentation built on June 2, 2022, 5:07 p.m.