lflt_choropleth_GcdNum: choropleth chart Gcd Num

View source: R/choropleth_GcdNum.R

lflt_choropleth_GcdNumR Documentation

choropleth chart Gcd Num

Description

lflt_choropleth_GcdNum() 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 geocode 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_GcdNum(data = NULL, ...)

Ftype

Gcd-Num

See Also

Other Gcd-Num plots: lflt_bubbles_GcdNum()

Examples

data <- sample_data("Gcd-Num", n = 30)
lflt_choropleth_GcdNum(data)


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



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