Description Usage Value Warning See Also Examples
View source: R/population_density.R
Utilizes a scatter plot to display the data provided by get_pop_density_with_sti
.
The plot has the population density on the x axis and the average STI on the y axis.
Additionally, a linear model is fit to the data, to visualize a possible correlation.
1 | plot_pop_density_with_linear_model(regions = "all")
|
A plot which contains the average STI over the pandemic with the population density of the district
When calling this function with the paramater "all" (the default paramater), the results may take a while, because this is a very expensive computation.
Other population density and STI:
get_pop_density_with_sti()
1 | get_pop_density_with_sti(regions=c(8221, "Mannheim"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.