calib_param | R Documentation |
This function returns an estimate of the optimal parameter value based on the average surface area of the locations (in square kilometers) according to the law. This estimation has only been tested on commuting data (in kilometers).
calib_param(av_surf, law = "NGravExp")
av_surf |
A positive |
law |
A |
The estimation is based on Figure 8 in Lenormand et al.
(2016) for four types of laws: the normalized gravity law with an exponential
distance decay function (law = "NGravExp"
), the normalized gravity law with
a power distance decay function (law = "NGravPow"
), Schneider's
intervening opportunities law (law = "Schneider"
), and the extended
radiation law (law = "RadExt"
).
An estimate of the optimal parameter value based on the average surface area of the locations.
Maxime Lenormand (maxime.lenormand@inrae.fr)
Lenormand M, Bassolas A, Ramasco JJ (2016) Systematic comparison of trip distribution laws and models. Journal of Transport Geography 51, 158-169.
Associated functions:
extract_opportunities()
extract_spatial_information()
check_format_names()
data(county)
res <- extract_spatial_information(county, id = "ID")
av_surf <- mean(res$surface)
calib_param(av_surf = av_surf, law = "NGravExp")
calib_param(av_surf = av_surf, law = "NGravPow")
calib_param(av_surf = av_surf, law = "Schneider")
calib_param(av_surf = av_surf, law = "RadExt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.