Description Usage Arguments Examples
View source: R/plot_indicator.R
Produce a ggplot2 plot of a BCU's indicator values, along with the global median for that indicator and the medians of other BCUs in that subregion.
1 | plot_indicator_dumbbell(bcus_top_pressures, bcus_regions, bcu_name, indicator)
|
bcus_top_pressures |
Top pressures for all BCUs, from |
bcus_regions |
Data containing which regions BCUs belong to, from |
bcu_name |
Name of the BCU being plotted |
indicator |
Indicator being plotted |
1 2 3 4 | bcus_top_pressures <- readRDS(here::here("data", "bcus_top_pressures.rds"))
bcus_regions <- readRDS(here::here("data", "bcus_regions.rds"))
plot_indicator_dumbbell(bcus_top_pressures, bcus_regions, "Aceh", "grav_NC")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.