C_metric: Returns the value of C1, C2 or C3 metric and the...

View source: R/adjustedPredSIS.R

C_metricR Documentation

Returns the value of C1, C2 or C3 metric and the corresponding limit

Description

Calls C1, C2, C3 functions and returns the respective metric value and the threshold limit.

Usage

C_metric(bound_metric, df, t)

Arguments

bound_metric

C1, C2, or C3 metric can be selected

df

Dataframe with two columns which contains dates and corresponding number of daily confirmed cases

t

Day number

Value

Returns the mean, standard deviation, threshold value for that metric and the metric value

Note

This function is called in the "threshold" function


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