as_double {spex} | R Documentation |
Atomic vector extent
Description
Coerce a extent
to an atomic vector of c(xmin(x), xmax(x), ymin(x), ymax(x))
.
Usage
as_double(x, ...)
## S3 method for class 'Extent'
as_double(x, ...)
as_integer(x, ...)
## S3 method for class 'Extent'
as_integer(x, ...)
Arguments
x |
a |
... |
unused |
Details
Note that as_integer
results in truncation, see rasterOps for positive buffering.
Value
numeric vector
See Also
base::as.double
[Package spex version 0.7.1 Index]