R/vaster.R
extent_dimension.Rd
input is the output of align_extent
extent_dimension(x, dimension, extent = NULL, snap = "out")
and aligned extent
dimension of parent
of parent
out by default, may be near or in
dimension
extent_dimension(c(.2, .8, 1.8, 3.2), c(10, 5), c(0, 10, 0, 5)) #> [1] 1 3