2D rectangle vectors
rct(
xmin = double(),
ymin = double(),
xmax = double(),
ymax = double(),
crs = wk_crs_auto()
)
as_rct(x, ...)
# S3 method for wk_rct
as_rct(x, ...)
# S3 method for matrix
as_rct(x, ..., crs = NULL)
# S3 method for data.frame
as_rct(x, ..., crs = NULL)
Rectangle bounds.
A value to be propagated as the CRS for this vector.
An object to be converted to a rct()
.
Extra arguments passed to as_rct()
.
A vector along the recycled length of bounds.
rct(1, 2, 3, 4)
#> <wk_rct[1]>
#> [1] [1 2 3 4]