graph_impact_top_countries: Plots the top country impact graph EXPORTED FUNCTION Must be...

Description Usage Arguments Value

Description

Plots the top country impact graph EXPORTED FUNCTION Must be called AFTER prep_impact_top_countries

Usage

1
graph_impact_top_countries(dat, params, print_threshold = NA)

Arguments

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

Value

A ggplot2 plot


vimc/phipps documentation built on May 29, 2019, 9:56 a.m.