crc: 2D Circle Vectors

Description Usage Arguments Value Examples

View source: R/crc.R

Description

2D Circle Vectors

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
crc(x = double(), y = double(), r = double(), crs = wk_crs_auto())

as_crc(x, ...)

## S3 method for class 'wk_crc'
as_crc(x, ...)

## S3 method for class 'matrix'
as_crc(x, ..., crs = NULL)

## S3 method for class 'data.frame'
as_crc(x, ..., crs = NULL)

Arguments

x, y

Coordinates of the center

r

Circle radius

crs

A value to be propagated as the CRS for this vector.

...

Extra arguments passed to as_crc().

Value

A vector along the recycled length of bounds.

Examples

1
crc(1, 2, 3)

wk documentation built on March 16, 2021, 5:11 p.m.