generate_legend_html: Generate Legend HTML

View source: R/main.R

generate_legend_htmlR Documentation

Generate Legend HTML

Description

Generate Legend HTML

Usage

generate_legend_html(var_1, var_2, var_1_breaks, var_2_breaks, color_matrix)

Arguments

var_1

Character string naming first variable

var_2

Character string naming second variable

var_1_breaks

Numeric vector of breaks for first variable

var_2_breaks

Numeric vector of breaks for second variable

color_matrix

Matrix of colors

Value

HTML string for legend


bivariateLeaflet documentation built on April 4, 2025, 4:39 a.m.