threshold: Identifies and adjusts jumps and drops

View source: R/adjustedPredSIS.R

thresholdR Documentation

Identifies and adjusts jumps and drops

Description

Identifies jumps and drops using given metric and adjusts if the length of the jump or drop is less than the upper bound.

Usage

threshold(ub_for_adjustment, bound_metric, df_confirmed_values)

Arguments

ub_for_adjustment

upper bound for the duration of a jump or drop

bound_metric

C1, C2, or C3 metric can be selected

df_confirmed_values

Dataframe of dates and observed number of daily confirmed cases

Value

Returns dataframe of dates and adjusted data using given metric

Note

This function is called in "sisd_cummulative"


RashiMohta/COVID-19-cases-prediction documentation built on Oct. 26, 2024, 9:48 a.m.