View source: R/ETDQualitizer.R
accuracy | R Documentation |
Calculates the angular offset between gaze and target directions.
accuracy(azi, ele, target_azi, target_ele, central_tendency_fun = mean)
azi |
Gaze azimuth in degrees. |
ele |
Gaze elevation in degrees. |
target_azi |
Target azimuth in degrees. |
target_ele |
Target elevation in degrees. |
central_tendency_fun |
Function to compute central tendency (default: |
A list with offset
, offset_azi
, and offset_ele
, the total, horizontal and vertical offset of gaze from the target (in degrees).
accuracy(c(1, 2), c(1, 2), 0, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.