coo_close: Close and unclose shapes

Description Usage Arguments Value Functions Examples

View source: R/coo_modifyers.R

Description

A closed shape is a shape with the same first and last coordinates.

Usage

1
2
3
4
5
6
7
coo_close(x, from_col, to_col, ...)

coo_unclose(x, from_col, to_col, ...)

is_closed(x)

is_unclosed(x)

Arguments

x

coo_single, coo_list or mom_tbl

from_col

colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method)

to_col

colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method)

...

useless here

Value

a coo_single, coo_list or mom_tbl

Functions

Examples

1
bot %>% pick(1)  # todo

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