heatmapcorfunc: Outputs a heatmap where the color is the r squared of...

View source: R/library--analysis_tools--time_offset--Offset_Analysis_Plot.R

heatmapcorfuncR 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

Description

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

Usage

heatmapcorfunc(cordata, length = 14, case_column = conf_case)

Arguments

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

Value

ggplot plot object (heatmap)

Examples

 data(Example_data, package = "Covid19Wastewater")
 heatmapcorfunc(Example_data)

Covid19Wastewater documentation built on Aug. 25, 2023, 1:07 a.m.