inst/doc/example_data.R

## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(Warning = FALSE, message = FALSE, echo = FALSE)

## ----load packages------------------------------------------------------------
library(Covid19Wastewater)
library(dplyr)
library(ggplot2)

## ----Example Data head--------------------------------------------------------
data(Example_data, package = "Covid19Wastewater")
head(Example_data)%>%
  select(date:PMMoV)%>%
  head()%>%
  knitr::kable()

head(Example_data)%>%
  select(flow:geo_mean)%>%
  head()%>%
  knitr::kable()


## ----plotting example data----------------------------------------------------
ggplot(Example_data, aes(x=date, y=geo_mean, color = site)) +
  geom_point()

Try the Covid19Wastewater package in your browser

Any scripts or data that you put into this service are public.

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