plot_inter {potential} | R Documentation |
Display a Spatial Interaction Function
Description
Display a spatial interaction function.
Usage
plot_inter(fun = "e", span, beta, limit = span * 5)
Arguments
fun |
spatial interaction function. Options are "p"
(pareto, power law) or "e" (exponential).
For pareto the interaction is defined as: (1 + alpha * mDistance) ^ (-beta).
For "exponential" the interaction is defined as:
exp(- alpha * mDistance ^ beta).
The alpha parameter is computed from parameters given by the user
( |
span |
distance where the density of probability of the spatial interaction function equals 0.5. |
beta |
impedance factor for the spatial interaction function. |
limit |
maximum distance used to retrieved |
Value
a plot
Examples
plot_inter(fun = "e", span = 2000, beta = 2, limit = 4000)
plot_inter(fun = "p", span = 2000, beta = 2, limit = 20000)
[Package potential version 0.2.0 Index]