g_density: Correlation between COVID19 cases and population density

Description Usage Arguments Value Examples

View source: R/g_density.R

Description

This function graphs the correlation between cases of COVID19 and population density of COVID19 in DR.

Usage

1
g_density(saveplot = FALSE, savepng = FALSE)

Arguments

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 daily and accumulated tests both in units and per million inhabitants and save a copy in png format on the computer to the address defined in setwd().

Examples

1
g_density(saveplot = FALSE, savepng = TRUE)

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