Description Usage Arguments Details Value Author(s) References Examples

View source: R/NCEP.loxodrome.R

This function calculates the loxodrome angle (i.e rhumb line or constant compass heading) between two points on a sphere.

1 | ```
NCEP.loxodrome(lat1,lat2,lon1,lon2)
``` |

`lat1` |
A numeric value giving the starting latitude in decimal degrees. |

`lat2` |
A numeric value giving the ending latitude in decimal degrees. |

`lon1` |
A numeric value giving the starting longitude in decimal degrees. |

`lon2` |
A numeric value giving the ending longitude in decimal degrees. |

This function calculates the loxodrome angle (i.e. rhumb line or constant compass heading) between two points on a sphere. Output is given in degrees from north.

A numeric value indicating the loxodrome angle between the two input points in degrees from north.

Michael U. Kemp [email protected]

http://en.wikipedia.org/wiki/Rhumb_line

1 2 3 | ```
library(RNCEP)
## Using NCEP.loxodrome ##
NCEP.loxodrome(lat1=45,lat2=40,lon1=4,lon2=5)
``` |

RNCEP documentation built on May 29, 2017, 7:17 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.