Description Usage Arguments Value Warning Examples
View source: R/lk_correlation.R
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
1 | calc_sti_correlation_of_lks(regions = "all")
|
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. |
A tibble with all pairs of given regions, sorted by the ones with the highest correlation first.
When calling this function with the paramater "all" (the default paramater), the results may take a while, because this is a very expensive computation.
1 | calc_sti_correlation_of_lks(c("Heidelberg", 8222, "1001"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.