R/get.asp.R

Defines functions get.asp

Documented in get.asp

get.asp <-
function(){
  pin <- par('pin')
  usr <- par('usr')
  asp <- (pin[2]/(usr[4]-usr[3])) / (pin[1]/(usr[2]-usr[1]))
  return(asp)
}

Try the mapplots package in your browser

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

mapplots documentation built on Aug. 25, 2023, 5:15 p.m.