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
)
vector of city names
list with plots
This function uses output of dist_from_center
and
estimates an exponential decay model via NLS.
https://douglas-watson.github.io/post/2018-09_exponential_curve_fitting/