View source: R/adjustedPredSIS.R
threshold | R Documentation |
Identifies jumps and drops using given metric and adjusts if the length of the jump or drop is less than the upper bound.
threshold(ub_for_adjustment, bound_metric, df_confirmed_values)
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 |
Returns dataframe of dates and adjusted data using given metric
This function is called in "sisd_cummulative"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.