calc_sti_correlation_of_lks: Incidence Correlation of District Pairs

Description Usage Arguments Value Warning Examples

View source: R/lk_correlation.R

Description

This function allows the user to calculate the empirical correlation of district pairs over the pandemic. The correlation is calculated by looking at the empirical correlation of the STI of one district with the STI of the other district on a daily basis

Usage

1
calc_sti_correlation_of_lks(regions = "all")

Arguments

regions

A vector of strings with district names or district IDs which should be compared. If the value is "all", all districts will be compared.

Value

A tibble with all pairs of given regions, sorted by the ones with the highest correlation first.

Warning

When calling this function with the paramater "all" (the default paramater), the results may take a while, because this is a very expensive computation.

Examples

1
calc_sti_correlation_of_lks(c("Heidelberg", 8222, "1001"))

slausmeister/revolution documentation built on Dec. 23, 2021, 3:24 a.m.