| centroid | R Documentation | 
Get center coordinates
centroid(stimuli, points = NULL)
stimuli | 
 list of stimuli  | 
points | 
 which points to include (0-based); if NULL, all points will be used  | 
named matrix of centroid x and y coordinates
Template functions
auto_delin(),
average_tem(),
change_lines(),
delin(),
draw_tem(),
features(),
get_point(),
remove_tem(),
require_tems(),
same_tems(),
squash_tem(),
subset_tem(),
tem_def(),
viz_tem_def()
demo_stim() |> centroid() # get the centre of the eye points demo_stim() |> centroid(0:1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.