plotProp: plot proportion by time interval with 95 percent CI

Description Usage Arguments Value Examples

View source: R/sars2phylo.R

Description

plot proportion by time interval with 95 percent CI

Usage

1
plotProp(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 of particular lineage

timeInt

time interval, usually weekly ("epidate")

smoother

display loess smoother

logreg

display logistic regression smoother

Value

creates a plot of proportion of lineage by time interval

Examples

1
plotProp(ss, "B.1.1.7", "epidate");

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