View source: R/library--analysis_tools--time_offset--Offset_Analysis_Plot.R
heatmapcorfunc | R Documentation |
Outputs a heatmap where the color is the r squared of wastewater data and center day + x many future days and y many past days Helps inform Offset Analysis
heatmapcorfunc(cordata, length = 14, case_column = conf_case)
cordata |
DF with geo_mean and conf_case columns |
length |
the length of the time window for the results / 2 |
case_column |
name of case column |
ggplot plot object (heatmap)
data(Example_data, package = "Covid19Wastewater")
heatmapcorfunc(Example_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.