View source: R/bubbles_GnmNum.R
lflt_bubbles_Gnm | R Documentation |
lflt_bubbles_Gnm()
Create a Leaflet bubbles 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
lflt_bubbles_Gnm(data = NULL, ...)
Gnm
data <- sample_data("Gnm", n = 30) lflt_bubbles_Gnm(data) # Activate data labels lflt_bubbles_Gnm(data) # if you want to calculate the average instead of the sum, you can use agg inside a function lflt_bubbles_Gnm(data, agg = "mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.