fitts | R Documentation |
Calculate the Fitt's distance from one element to another. For use in UX design.
fitts(x1, y1, x2, y2, width)
x1 |
The x-coordinate of the first object |
y1 |
The y-coordinate of the first object |
x2 |
The x-coordinate of the second object |
y2 |
The y-coordinate of the second object |
width |
The width of the second object |
Formatted string of Fitts's distance, showing Movement Time, the regression coefficient, and the width of the element.
fitts(x1 = 10, y1 = 15, x2 = 50, y2 = 76, width = 120)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.