using GHS grid data, plot average density at a certain distance from the center of a city.

plot_density_center(
  city_name = c("Paris", "Lyon"),
  by_year = TRUE,
  w = 9,
  h = 6
)

Arguments

city_name

vector of city names

Value

list with plots

Details

This function uses output of dist_from_center and estimates an exponential decay model via NLS.

References

https://douglas-watson.github.io/post/2018-09_exponential_curve_fitting/