Skip to contents

Creates a heatmap based on the dataset and the full page image

Usage

generate_heatmap(data, heatmap_image)

Arguments

data

The dataset output by the eye_scroll_correct function

heatmap_image

The unscrolled webpage image on which to apply the heatmap

Value

A plot with the image and 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)
}