lflt_choropleth_GnmNum: choropleth chart Gnm Num

View source: R/choropleth_GnmNum.R

lflt_choropleth_GnmNumR Documentation

choropleth chart Gnm Num

Description

lflt_choropleth_GnmNum() Create a Leaflet choropleth map based on a particular data type. In this case, you can load data with only two columns, where the firts it's a geoname column, and the second is a numeric class column, or make sure that the first two columns of your data meet this condition

Usage

lflt_choropleth_GnmNum(data = NULL, ...)

Ftype

Gnm-Num

See Also

Other Gnm-Num plots: lflt_bubbles_GnmNum()

Examples

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


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



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