Description Usage Arguments Value Examples
Create plotting function for lineage with x bins as week, not day
1 | plotVarWeekly(SS, LIN, bystate = FALSE, xlower, xupper)
|
SS |
dataframe of sample set, with one-hot encoding of each lineage as a column |
LIN |
character string of particular lineage |
bystate |
subset by state; SS must have state as a column |
xlower |
lower bound of x range |
xupper |
upper bound of x range, will extrapolate the logistic regression smoother |
creates a plot of successes (samples belong to lineage) vs failures (not lineage) over time
1 | plotVarWeekly(ss, "B.1.1.7", bystate = FALSE, xlower = 25, xupper = 75);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.