as_double {spex} | R Documentation |
Coerce a extent
to an atomic vector of c(xmin(x), xmax(x), ymin(x), ymax(x))
.
as_double(x, ...)
## S3 method for class 'Extent'
as_double(x, ...)
as_integer(x, ...)
## S3 method for class 'Extent'
as_integer(x, ...)
x |
a |
... |
unused |
Note that as_integer
results in truncation, see rasterOps for positive buffering.
numeric vector
base::as.double