Creates generic heatmap
generate_heatmap.Rd
Creates a heatmap based on the dataset and the full page image
Arguments
- data
The dataset output by the
eye_scroll_correct
function- heatmap_image
The unscrolled webpage image on which to apply the heatmap
Examples
if (FALSE) {
img <- readPNG("test.png")
test_data <- eye_scroll_correct(fixed_areas = test_fixed_areas,
rules = test_rules, calibration = test_calibration)
generate_heatmap(data = test_data, heatmap_image = img)
}