Learn R Programming

spex (version 0.7.1)

as_double: 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 Extent as_double(x, ...)

as_integer(x, ...)

# S3 method for Extent as_integer(x, ...)

Arguments

...

unused

Value

numeric vector

Details

Note that as_integer results in truncation, see rasterOps for positive buffering.

See Also

base::as.double