scanpath | R Documentation |
This function creates a scanpath containing polar coordinates (rho, theta) along with absolute x and y spatial coordinates for a given fixation group.
scanpath(x, ...)
x |
The fixations. |
... |
Extra arguments. |
A scanpath object.
# Create a fixation group
fg <- fixation_group(x=c(.1,.5,1), y=c(1,.5,1), onset=1:3, duration=rep(1,3))
# Create a scanpath for the fixation group
sp <- scanpath(fg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.