C3_1day: Calculates the mean, standard deviation and C3 metric value...

View source: R/adjustedPredSIS.R

C3_1dayR Documentation

Calculates the mean, standard deviation and C3 metric value taking a 1 day lag

Description

This is similar to the function C3, but it uses the data of seven days and a 1-day lag.

Usage

C3_1day(df, t)

Arguments

df

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

t

Day number

Value

Returns the mean, standard deviation and C3 metric value

Note

This function is called by the "C_metric" function which in turn is called in the "threshold" function


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