DivingBoard: Point where dispersal route hits coast

Description Usage Arguments Details Value Author(s) Examples

View source: R/DivingBoard.R

Description

Finds point at which an organism collides with the coast when dispersing

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
DivingBoard(
  start_longitude,
  start_latitude,
  end_longitude,
  end_latitude,
  continent_longitude,
  continent_latitude,
  continent_radius,
  EarthRad = 6367.4447
)

Arguments

start_longitude

Decimalised longitude of organism's starting point.

start_latitude

Decimalised latitude of organism's starting point.

end_longitude

Decimalised longitude of organism's finishing point.

end_latitude

Decimalised latitude of organism's finishing point.

continent_longitude

Theta in radians.

continent_latitude

Theta in radians.

continent_radius

Continent radius in kilometres

EarthRad

Radius of the Earth in kilometres.

Details

Nothing yet. Circular continent.

Value

Decimalised longitude and latitude of collision point and remaining unspent dispersal distance in kilometres.

Author(s)

Graeme T. Lloyd graemetlloyd@gmail.com

Examples

1
#DivingBoard()

laurasoul/dispeRse documentation built on May 25, 2021, 4:50 a.m.