R: 2D rectangle vectors

rct {wk} | R Documentation

## 2D rectangle vectors

### Description

2D rectangle vectors

### Usage

    rct(xmin = double(), ymin = double(), xmax = double(), ymax = double())

    as_rct(x, ...)

    ## S3 method for class 'rct'
    as_rct(x, ...)

    ## S3 method for class 'matrix'
    as_rct(x, ...)

    ## S3 method for class 'data.frame'
    as_rct(x, ...)

### Arguments

`xmin, ymin, xmax, ymax` | Rectangle bounds.
`x` | An object to be converted to a `rct()`.
`...` | Extra arguments passed to `as_rct()`.

### Value

A vector along the recycled length of bounds.

### Examples

    rct(1, 2, 3, 4)

[Package wk version 0.3.4 Index]