combine_eyes | R Documentation |
Combines the data from binocular samples into X/Y coordinate pairs. Two methods can be used: "average" or "best_eye". For "average", the result is based on the average of the two eyes for each sample, or for samples where there is data from only a single eye, that eye is used. For "best_eye", a summary of the proportion of missing samples is computed, and the eye with the fewest missing samples is used.
combine_eyes(data, method = "average")
data |
raw data with columns time, left_x, left_y, right_x, right_y, and trial |
method |
either "average" or "best_eye" - see description. |
a dataframe of x-2 variables (with left_x and right_x condensed to x, and left_y and right_y condensed to y) and the same number of observations as the input data
combine_eyes(HCL, method = "average")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.