sample_density: sample_density

View source: R/all_generic.R

sample_densityR Documentation

sample_density

Description

Sample a smooth fixation density map with a set of discrete fixations.

Usage

sample_density(x, fix, ...)

Arguments

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.

Details

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.

Value

A data frame with columns 'z' (density estimates at fixation locations) and 'time' (onset time of fixations).

See Also

sample_density.density for an example of a specific method implementation for this generic.


bbuchsbaum/eyesim documentation built on May 9, 2023, 3:29 a.m.