R/getDeviceResolution.R

setMethodS3("getDeviceResolution", "default", function(scale=1, ...) {
  res <- scale * par("cra") / par("cin")
  res
})

Try the aroma.core package in your browser

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

aroma.core documentation built on June 25, 2024, 1:15 a.m.