Description Usage Arguments Value
Method we use: distance and bearing, Haversine method Note we work in units of radians and kilometres.
Calculate 'd', the distance travelled
Calculate 'theta', the direction or bearing travelled
Convert to lat and long.
1 | random_dispersal(lat, long, lambda)
|
lat |
Latitude or 'y' coordinate of agent. |
long |
Longitude or 'x' coordinate of agent. |
lambda |
Shape parameter for distance calculation. ABC parameter. |
Updated lat
and long
of agent, as a list.
below uses DEGREES in angle for calculation and not radians
do we need to do anything about that???
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.