Duration of hospitalised infection

ph_calculate_nus(df)

Arguments

df

A data.frame of cases data pulled from the Philippines COVID-19 Data Drop.

Value

Value for duration of hospitalised infection.

Examples

df <- ph_get_cases()
#> Getting information on Google Drive directory structure of the DoH Data Drop for latest available data up to 2020-06-23.
ph_calculate_nus(df = df)
#> #> One Sample t-test #> #> data: x #> t = 72.483 days, df = 3915, p-value < 2.2e-16 #> alternative hypothesis: true mean is not equal to 0 #> 95 percent confidence interval: #> 18.6344 days 19.6705 days #> sample estimates: #> Time difference of 19.15245 days #>