Description Usage Arguments Value Examples
Plot lineage as successes/failures over time, and fit logistic regression as smoother
1 2 3 4 5 6 7 | plotLineage(
SS,
LIN,
bystate = FALSE,
xlower = "2020-05-01",
xupper = "2021-05-01"
)
|
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 | plotLineage(ss, "B.1.1.7", bystate = TRUE);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.