create_bivariate_map {bivariateLeaflet} | R Documentation |
Create Bivariate Choropleth Map
Description
Create Bivariate Choropleth Map
Usage
create_bivariate_map(
data,
var_1,
var_2,
color_matrix = NULL,
custom_labels = NULL
)
Arguments
data |
A spatial data frame |
var_1 |
Character string naming first variable |
var_2 |
Character string naming second variable |
color_matrix |
Optional custom color matrix |
custom_labels |
Optional vector of custom HTML labels for tooltips |
Value
A leaflet map object
[Package bivariateLeaflet version 0.1.0 Index]