plotWeekly: plot lineages as successes by week (for accurate uncertainty...

Description Usage Arguments Value Examples

View source: R/sars2phylo.R

Description

plot lineages as successes by week (for accurate uncertainty in logistic regression smoother)

Usage

1
plotWeekly(SS, lineage, timeInt, smoother = FALSE, logreg = FALSE)

Arguments

SS

dataframe of sample set, with one-hot encoding of each lineage as a column

lineage

character string specifying lineage of interest

timeInt

time interval, usually weekly ("epidate")

smoother

display loess smoother

logreg

display logistic regression smoother

Value

creates a plot of successes by week for a given lineage

Examples

1
plotWeekly(ss, "B.1.1.7", "epidate", logreg=TRUE);

JacobLemieux/sars2phylo documentation built on Dec. 18, 2021, 12:29 a.m.