asp_ratio | R Documentation |
Helper function. Ratio is computed as width/height (or col/rows).
asp_ratio(x)
x |
A |
The aspect ratio
library(terra)
x <- rast(system.file("tiff/elev.tiff", package = "rasterpic"))
plot(x)
asp_ratio(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.