as_double: Atomic vector extent

Description Usage Arguments Details Value See Also

View source: R/buffer_extent.R

Description

Coerce a extent to an atomic vector of c(xmin(x), xmax(x), ymin(x), ymax(x)).

Usage

1
2
3
4
5
6
7
8
9
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 extent

...

unused

Details

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

Value

numeric vector

See Also

base::as.double


mdsumner/spex documentation built on Oct. 4, 2020, 6:33 a.m.