coo_single: Create single shape made of coordinates

Description Usage Arguments Details Value Functions Examples

Description

coo_single objects are tibble with exactly two columns named x and y. Anything that can be turned should work.

Usage

1
2
3
4
5
6
7
8
9

Arguments

x

anything that can be turned a tibble by tibble::tibble() should work

Details

You should use the helper coo_single, new_coo_single and validate_coo_single are for internal operations.

Value

a coo_single object

Functions

Examples

1
2
3
coo_single()
matrix(1:12, ncol=2) %>% coo_single()
list(x=1:2, y=3:4) %>% coo_single()

MomX/Momocs2 documentation built on May 13, 2020, 4:28 a.m.