powered by
Get center coordinates
centroid(stimuli, points = NULL)
list of stimuli
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()
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()
# NOT RUN { demo_stim() |> centroid() # get the centre of the eye points demo_stim() |> centroid(0:1) # }
Run the code above in your browser using DataLab