get_pop_density_with_sti: Correlation Between Population Density and STI

Description Usage Arguments Value Warning See Also Examples

View source: R/population_density.R

Description

This function can be used to analyze the relation between the population density and average incidence over the pandemic. The user can specify, which districts to analyze.

Usage

1
get_pop_density_with_sti(regions = "all")

Arguments

regions

A vector of district IDs or district names, which will be analyzed.

Value

A tibble which contains the average STI over the pandemic with the population density of the district

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.

See Also

Other population density and STI: plot_pop_density_with_linear_model()

Examples

1
get_pop_density_with_sti(regions=c(8221, "Mannheim"))

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