R/rPeri.R

Defines functions rPeri

Documented in rPeri

rPeri <-
function(r)
{
  lat <- r2d(r)$lat
  lon <- r2d(r)$lon
  lat <- lat + c(1/4, 1/4,  - 1/4,  - 1/4, 1/4)
  lon <- lon + c(0.5,  - 0.5,  - 0.5, 0.5, 0.5)
  data.frame(lat = lat, lon = lon)
}

Try the geo package in your browser

Any scripts or data that you put into this service are public.

geo documentation built on May 2, 2019, 5:22 p.m.