g_cases_province: Provinces with most positive cases of COVID19

Description Usage Arguments Value Examples

View source: R/g_cases_province.R

Description

This function graphs the provinces with the most positive cases of COVID19 in the DR.

Usage

1
g_cases_province(n_province = 15L, saveplot = FALSE, savepng = FALSE)

Arguments

n_province

Integer. Number of provinces to show on plot. Range = [2,32]. Default n_province = 15L.

saveplot

Logical. Should save the ggplot objet to the .GlobalEnv? Default FALSE.

savepng

Logical. Should save a png version of the plot? Default FALSE.

Value

Graph of the provinces with the most positive cases of COVID19 and saves a copy in png and gif format to the computer at the address defined in setwd().

Examples

1
2
3
g_cases_province()
g_cases_province(savepng = TRUE)
g_cases_province(n_province = 25L, saveplot = TRUE)

fidelmorla/drcovidplots documentation built on July 14, 2020, 4:02 p.m.