Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

crc

2D Circle Vectors


Description

2D Circle Vectors

Usage

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

crc(1, 2, 3)

wk

Lightweight Well-Known Geometry Parsing

v0.4.1
MIT + file LICENSE
Authors
Dewey Dunnington [aut, cre] (<https://orcid.org/0000-0002-9415-4582>), Edzer Pebesma [aut] (<https://orcid.org/0000-0001-8049-7069>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.