lflt_choropleth_Gnm: choropleth chart Gnm

View source: R/choropleth_GnmNum.R

lflt_choropleth_GnmR Documentation

choropleth chart Gnm

Description

lflt_choropleth_Gnm() Create a Leaflet choropleth map based on a particular data type. In this case, you can load data with only one column, where it's a geoname column, or make sure that the first column of your data meet this condition

Usage

lflt_choropleth_Gnm(data = NULL, ...)

Ftype

Gnm

Examples

data <- sample_data("Gnm", n = 30)
lflt_choropleth_Gnm(data)

# Activate data labels
lflt_choropleth_Gnm(data)

# if you want to calculate the average instead of the sum, you can use agg inside a function
lflt_choropleth_Gnm(data,
                       agg = "mean")


randommonkey/lfltmagic documentation built on Feb. 19, 2023, 3:53 a.m.