JHGetplot_CountryLevel: Get ggplot plot of Single Variables for a list of Country

JHGetplot_CountryLevelR Documentation

Get ggplot plot of Single Variables for a list of Country

Description

Get ggplot plot of Single Variables for a list of Country

Usage

JHGetplot_CountryLevel(
  JH_Data,
  CountryList,
  VarName,
  add_label = FALSE,
  adjust_label = FALSE,
  mindiffval = 5
)

Arguments

JH_Data

data frame containing JH Data

CountryList

character list of countries

VarName

character variable name in JH_Data to be extracted

add_label

boolean on whether to add a label to the curve

adjust_label

boolean on whether to adjust the label

mindiffval

minimum value difference assured in case of label adjustmment

Value

ggplot of the variable with colour by country

Examples

#TODO

cuisquare/JHCovidHelpers documentation built on Jan. 7, 2023, 3:28 p.m.