View source: R/covidPlotBarNow.R
covidPlotBarNow | R Documentation |
covidPlotBarNow
covidPlotBarNow( x, asofhere, horiz = FALSE, n = 15, noworever = "ever", dayscontagious = 14, inapp = TRUE, ... )
x |
from covidDownload |
asofhere |
date to look at, optional |
horiz |
controls whether barplot is vertical or horizontal, optional |
n |
how many places, the worst n, optional |
noworever |
worst cumulatively for all past days (ever) or worst now (cum cases for the past dayscontagious only) |
dayscontagious |
how many recent days of new cases to add together, as a way to approximate how many people are currently still contagious |
inapp |
optional, related to formatting in browser vs RStudio interactive window |
... |
passed to barplot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.