convert.distance.degree | R Documentation |
This set of functions converts given distances either from km-to-degrees and miles-to-degrees or degrees-to-km and degrees-to-miles.
km2d(km, base.latitude = 38.280479)
ml2d(ml, base.latitude = 38.280479)
d2km(d, base.latitude = 38.280479)
d2ml(d, base.latitude = 38.280479)
km |
numeric. A single numeric km distance. |
base.latitude |
numeric. A single numeric base latitude. Base latitude is generally selected as the mean latitude of your shapefile. |
ml |
numeric. A single numeric mile distance. |
d |
numeric. A single numeric degrees. |
km2d: Converts km to degrees by the selected latitude degree.
ml2d: Converts miles to degrees by the selected latitude degree.
d2km: Converts degrees to kilometers by the selected latitude degree.
d2ml: Converts degrees to miles by the selected latitude degree.
Numeric value.
km2d(100)
ml2d(100)
d2km(100)
d2ml(100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.