Description Usage Arguments Value Author(s)
View source: R/movement_models.R
Given the populations of A and B and the distance between them, return the estimated population flow between them modeled as
φ(A,B) = K n_A^{α}n_B^{β}/r_{AB}^{γ}
1 | gravity_model(n_from, n_to, distance, params)
|
n_from |
population of the source |
n_to |
population of the destination |
distance |
distance between the two places |
params |
a named list of model parameters. For gravity model the parameters are k, pow_from, pow_to, pow_dist. destination |
estimated flow between source and destination
Sangeeta Bhatia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.