computeJumps: compute first difference Jumps for N1 and N2

View source: R/library--data_prep--filter_tools--outlier_tools.R

computeJumpsR Documentation

compute first difference Jumps for N1 and N2

Description

compute first difference Jumps for N1 and N2

Usage

computeJumps(df, N1_column = N1, N2_column = N2, site_column = site)

Arguments

df

DataFrame. needs Column n1_sars_cov2_conc, n2_sars_cov2_conc, site

N1_column

N1 metric used in finding difference

N2_column

N2 metric used in finding difference

site_column

Grouping that makes each group a time seriecomputeJumpss

Value

dataframe with 4 columns appended: delta(n1), delta(n2) from left and right

Examples

data(Example_data, package = "Covid19Wastewater")
Example_data$site = "Madison"
computeJumps(Example_data)

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