Description Usage Arguments Value
Plots the top country impact graph EXPORTED FUNCTION Must be called AFTER prep_impact_top_countries
1 | graph_impact_top_countries(dat, params, print_threshold = NA)
|
dat |
A list containing teh filtered data set, and some information about the units. This is the output from prep_impact_top_countries |
params |
A list (TODO consider using an S3 class) of parameters or the plot. (TODO does this list have to be the same as the params for prep_impact_top_countries? If so consider adding params to dat) |
print_threshold |
A numerical value that determines how when labels are added to the plot. DEFAULT = NA, which sets the threshold in the body of the function based on data |
A ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.