Learn R Programming

Covid19Wastewater (version 1.0.1)

heatmapcorfunc: 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)

Value

ggplot plot object (heatmap)

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

Examples

Run this code
 data(Example_data, package = "Covid19Wastewater")
 heatmapcorfunc(Example_data)

Run the code above in your browser using DataLab