sample_density | R Documentation |
Sample a smooth fixation density map with a set of discrete fixations.
sample_density(x, fix, ...)
x |
An object representing the smooth fixation density map to be sampled. |
fix |
A data frame containing the discrete fixations used for sampling the density map. |
... |
Additional arguments passed on to the method. |
This function samples a given smooth fixation density map with a set of discrete fixations to estimate the density at the locations of those fixations.
A data frame with columns 'z' (density estimates at fixation locations) and 'time' (onset time of fixations).
sample_density.density
for an example of a specific method implementation for this generic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.