new_geovctrs_xy: S3 details for geovctrs_xy

Description Usage Arguments

View source: R/geo-xy.R

Description

S3 details for geovctrs_xy

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
new_geovctrs_xy(x = list(x = double(), y = double()))

is_geovctrs_xy(x)

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

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

as_geo_xy(x, ...)

## Default S3 method:
as_geo_xy(x, ...)

## S3 method for class 'geovctrs_xy'
vec_cast(x, to, ...)

## S3 method for class 'geovctrs_xy'
vec_ptype2(x, y, ...)

new_geovctrs_xyz(x = list(x = double(), y = double(), z = double()))

is_geovctrs_xyz(x)

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

as_geo_xyz(x, ...)

## Default S3 method:
as_geo_xyz(x, ...)

## S3 method for class 'geovctrs_xyz'
vec_cast(x, to, ...)

## S3 method for class 'geovctrs_xyz'
vec_ptype2(x, y, ...)

Arguments

x

A (possibly) geo_xy()

...

Unused

to, y

Arguments to vctrs::vec_cast() and vctrs::vec_ptype2()


paleolimbot/geovctrs documentation built on July 30, 2020, 3:41 p.m.